Linux & OS Internals
The terminal, the shell and your first commands
Learn how the terminal and shell work together, and how to read and enter commands.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Linux & OS Internals
- What an operating system doesBeginner · 5 min
Your program never touches the disk, the network card or the RAM chips. Something else does it for them, and that something decides who waits.
- Finding answers: man, --help and tldrBeginner · 4 min
Nobody remembers every flag. The engineers who look calm in an incident are the ones who know which of three tools answers which kind of question.
- The Linux file system hierarchy: /, /etc, /var, /home, /usrBeginner · 5 min
Config, logs, programs and your own files each have a standard home. Learn the five or six that matter and you can find almost anything on an unfamiliar server.
- Paths: absolute, relative, ., .. and ~Beginner · 5 min
The same command works in one folder and fails in another. The difference is almost always how you wrote the path.
- Create, copy, move and delete files without losing dataBeginner · 5 min
Learn how copying, moving and deleting files affect existing data, and how to check a command before running it.