The command line
Move fast in the terminal on Linux and macOS.
The command line is where developers work fastest: servers have no mouse, logs are plain text, and one line can do the work of fifty clicks. This track starts at your very first command and ends with scripts that make decisions, text pipelines of your own, and sessions that keep running on a remote server.
The commands work on Linux and macOS alike, and the outputs shown are exactly what Linux prints. On Windows, use Git Bash or WSL (Windows Subsystem for Linux) to get the same shell.
- Lessons
- 14
- Time
- 2 h
- Level
- Beginner
- Bronze open
- Silver open
- Gold locked
Ready to prove it?
Three exams are waiting: Bronze, Silver and Gold.
What you'll be able to do
- Move around the file system and manage files and folders without a mouse
- Read, follow and search logs with less, tail and grep
- Chain small tools with pipes and redirection to answer real questions
- Write and run your first shell script, and understand permissions, PATH and environment variables
- Log in to remote servers safely with SSH keys
- Process text with sed and awk, manage running programs, and keep work alive on a server with tmux
The journey
1 Module 1First steps in the shell
What a terminal and a shell are, moving between folders, and creating, copying and deleting files.
0 / 42 Module 2Power tools
Read and search logs, connect tools with pipes, write scripts and work on remote servers.
0 / 63 Module 3Going further
Where to go next: scripts that make decisions, text processing and long-running work on servers.
0 / 4