← All hands-on practice
Linux · 15 min
Linux terminal basics
A simulated Linux server with a small set of real commands. Type help to see them.
Start it: free, in your browser, no account
What you will do
- Find out who you are and which folder you're in.
- List everything in your home folder, including hidden files.
- Read the note in notes.txt.
- Move to the folder that holds the system logs.
- Show only the failed login lines in auth.log.
- Count the failed logins with a pipe (|), which sends one command's output into the next.
- Search the whole system for a file called backup.sh.
- Try to run the backup script. What happens?
- Make the script executable, then run it successfully.
- Create a folder called reports in your home folder, with an empty file incident.txt inside it.
- Delete the old temp file in /tmp, and nothing else.
Exam objectives it practises
- CompTIA A+ Core 2 1.9 Linux client tools
- CompTIA Security+ 4.1 Security techniques for computing resources
- CompTIA PenTest+ 4.4 Host-based attacks
A simulated Ubuntu-style bash shell with about 30 commands and a small file system. Groups, sudo and real script execution are not modelled: a script prints its echo lines.