The Linux manuals are the most valuable resource you can learn to use and could arguably be said to beat any book. Bring up a terminal and type;
man intro
Read these properly and you will be given a basic introduction to using the shell. Type
The manual is divided into sections. Type;
man man
For any command that can be typed into the shell there are manual pages;
man command
substitute
Another way of getting information is;
info command
again substitute
info ls
man ls
On my system
Man pages are the UNIX traditional way of distributing documentation and correspond to the pages of the printed manual; the man pages "sections" correspond to sections in the full UNIX manual.
Info is the default format for documentation inside the GNU project. Info uses Texinfo as its source format, which is a bunch of macros for TeX, and that makes it much easier to also create "good-looking" printed versions or PDFs.
Where is the manual kept? The command manpath
shows the paths that are searched for manual pages but they may well be buried in subdirectories.
man -wa command
will take you to the file for a given command.
An HTML version of the manual can be found here The Linux man-pages project.
Other interesting commands;
help
Tells you;
These shell commands are defined internally. Type 'help' to see this list.
Type 'help name' to find out more about the function 'name'.
Use 'info bash' to find out more about the shell in general.
Use 'man -k' or 'info' to find out more about commands not in this list.
And then it gives a list of commands.
Unrelated to this is;
info help
Well it looks interesting but what it is supposed to do?!
You can also get help on many commands with;
command --help