PATCH//NOTES Open it in the app
← 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

  1. Find out who you are and which folder you're in.
  2. List everything in your home folder, including hidden files.
  3. Read the note in notes.txt.
  4. Move to the folder that holds the system logs.
  5. Show only the failed login lines in auth.log.
  6. Count the failed logins with a pipe (|), which sends one command's output into the next.
  7. Search the whole system for a file called backup.sh.
  8. Try to run the backup script. What happens?
  9. Make the script executable, then run it successfully.
  10. Create a folder called reports in your home folder, with an empty file incident.txt inside it.
  11. 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.