Home › Learn by Playing › Skills › Linux

Learn Linux free, step by step

The command line every server and cloud runs on.

13 units · 111 cards · Basic → Intermediate → Advanced · free, no login

Start learning Linux ▶

How it works

Try a few cards

💡 Learn

Moving around

pwd shows where you are, ls lists files, cd folder moves into a folder, mkdir makes a new one and touch creates an empty file.

Try it

Which command lists the files in the current folder?

  • cd
  • ls
  • mkdir
  • pwd
Show the answer

✓ ls. ls lists files. cd changes folder, pwd prints where you are, mkdir makes a new folder.

Try it

What does cd .. do?

  • Creates a folder named ..
  • Goes back to your home folder
  • Moves you one folder up
  • Shows the current folder
Show the answer

✓ Moves you one folder up. .. means the parent folder. cd ~ or plain cd goes to your home folder.

Full syllabus

Basic · 4 units

  1. Files and folders
  2. Reading files
  3. Permissions
  4. Users and sudo

Intermediate · 5 units

  1. Processes
  2. Services (systemctl)
  3. Packages (apt)
  4. Networking commands
  5. Shell scripts

Advanced · 4 units

  1. cron
  2. Logs and journalctl
  3. SSH keys
  4. Troubleshooting a slow server

Start learning Linux ▶

Kramavriddhi Learn is free and independent. Facts are checked against the official documentation. Badges are self-checks, not official certificates. Found a mistake or have an idea? Tell us.