Beginner · Free · In your browser

Learn Linux Command Line

Learn the commands that run servers, clouds, and developer laptops. Navigate the filesystem, shape files and text with pipes, manage permissions and scripts, and finish with network checks and a complete server health report.

20 lessons6 modules3.2 hours of practice4 challenges
Start the Linux Command Line course →

No installation. Your code runs right in the browser. No previous experience required. Everything runs in a safe practice terminal in your browser.

What you will be able to do

Course outline

Module 1

Find your way around

Read the prompt, list folders, move with cd, and read files.

  1. Where am I?pwd & ls · 6 min
  2. Move between folderscd, relative & absolute paths · 8 min
  3. See everything, in detaills -a, ls -l & hidden files · 8 min
  4. Read a filecat, head & tail · 8 min
Module 2

Shape your files

Create, copy, move, rename, and delete files and folders safely.

  1. Make folders and filesmkdir -p & touch · 7 min
  2. Copy, move & renamecp, cp -r & mv · 9 min
  3. Delete with carerm, rm -r & rmdir · 8 min
Module 3

Text superpowers

Write files with redirection, search with grep, and connect commands with pipes.

  1. Write with echo & redirectionecho, > and >> · 8 min
  2. Search inside filesgrep -i, -n, -v & -c · 9 min
  3. Combine commands with pipes|, sort, uniq -c & wc -l · 10 min
  4. Project: summarize a log fileFoundation project · grep, redirection & pipes · 15 min
Module 4

Find and organize

Search folder trees, work with columns, and use wildcards.

  1. Find files anywherefind -name & -type · 8 min
  2. Work with columnscut, sort -u & tail -n +2 · 10 min
  3. WildcardsGlobbing with * and ? · 8 min
Module 5

Permissions and the system

Set permissions, run your own scripts, and inspect the machine.

  1. Read and set permissionsrwx & chmod with numbers · 10 min
  2. Run your own scriptShebang, chmod +x & ./script · 11 min
  3. Know your systemwhoami, hostname, uname, ps & df · 9 min
Module 6

Networking from the shell

Read addresses and routes, test reachability, and build a health report.

  1. Your address and your routeip addr & ip route · 10 min
  2. Is it reachable?ping, dig, curl & ss · 12 min
  3. Capstone: a server health checkCapstone · system, logs & network checks · 20 min

Ready for your first line?

Every lesson is short, hands-on, and checked automatically.

Start learning Linux Command Line →