

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 7
click for more info
Not enough gems
Cost: 6 gems
1: Open a Terminal
incomplete
2: Installing Windows Subsystem for Linux
incomplete
3: Terminal Alternatives
incomplete
4: Download Worldbanc
incomplete
5: Shell Configuration
incomplete
6: PATH Config
incomplete
7: Shell Aliases
incomplete
8: Man
incomplete
9: Symbolic Links
incomplete
10: Top
incomplete
11: Interrupt
incomplete
12: Kill
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
The man command is short for "manual." It's a program that displays the manual for other programs.
A 3000-year-old photo of Moses instructing his people to "read the
f---ingfriendly manual"
I know that manuals and documentation can feel intimidating, heck, that's why there are courses like this one to give you a gentler introduction. That said, manuals and documentation will become more useful to you as you become a more experienced developer. They're not as scary as they seem when you actually take the time to read them.
The man command will only work for programs that it has a manual for, but most built-in commands and Unix programs are supported. You just pass the name of the command as an argument. The most intuitive place to start, of course, is reading the manual's manual:
# open the man pages for the 'man' command
man man
Most people don't just read man pages for fun. More often, the manual is used as a reference to quickly look up usage or special flags.
You can search for text in the manual by pressing the / key and typing your search, then pressing enter. Let's try to look up what the -r flag does for the ls command:
man ls
# type '/-r' to start searching
# press 'n' to jump to the next result
# press 'N' to go back if you went too far
As a systems person, the grep command will be your best friend. It has a lot of power, but it can be a little confusing to use.
grep manual.q.Read the first couple paragraphs of the grep manual, then read the question and scroll through the rest of the manual for the answer.