What you will learn
Module 1
Stop asking what to click. Start asking why.
From Desktop User to System Operator
A question no program was written for
Nobody wrote a program that lists the commands you use most often. Yet history produces text, awk extracts a column, sort orders it, uniq -c counts repeats and head takes the first few lines.
What does that tell you about how Linux is designed?
Five small tools, joined in one line, answer a question none of them knows about. That is the Unix philosophy paying off: small tools that each do one thing, working together on text.
By the end you can
- Explain the Unix design philosophy
- Explain what "everything is a file" means
- Navigate the filesystem hierarchy with intent
- Tell kernel space from user space
- Use the manual's sections properly
Procedures only cover situations someone anticipated. Mechanism lets you handle situations nobody anticipated.
One name, two manual pages
man 1 passwd
The command that changes your password.
man 5 passwd
The format of the /etc/passwd file.
You compile a program yourself. Where should it go so an APT upgrade never overwrites it?
- /usr/bin
- /usr/local
- /var/lib
Show the answer
/usr/bin is package manager territory. Software you install outside the package manager belongs in /usr/local, which APT never touches.
Now watch the video
In this optional 18-minute crash course from Learn Linux TV, watch for how to find and read manual pages with man.
Watch the video