GNU/Linux is powerful. GNU/Linux is mighty. GNU/Linux can be confusing…
One of the things that terrifies most people about GNU/Linux is the command line. Granted, most users can get away with never touching a terminal window nowadays on most modern distributions, but when a lot of people think of GNU/Linux they instantly picture a command line interface of scrolling text and gibberish code.
Thankfully, learning to actually use the command line is not quite as daunting as one might assume, especially with the help of something known as the Man Pages.
Have you ever heard of the acronym, “RTFM,” or “Read the freakin’ manual?” It’s commonly thrown around by GNU/Linux power users who don’t feel like helping a new user out with simple questions. Often when they refer to ‘the manual,’ they are referring to the Man Pages.
Simply put, the Man Pages are documentation or a manual for various commands used in the command line environment. Many commands, programs/applications and tools have various “options” that can be utilized; the Man Pages are an absolutely invaluable tool for learning what these various options are and how to better use the command line to suit your needs.
The syntax of the man command is very straightforward and easy to learn to use:
man [options] (keywords)
More often than not people will not even use options when they use the man command, simply just using man and then the keyword only.
man nano
When using the man command, more often than not the output is automatically pushed through a program called "Less", which allows you to view the output one page at a time in fullscreen. Once you have pulled up the man page for the program or application you are looking into, you can press "H" to view help text which will give you a list of hotkeys to press to navigate through "Less."
The Man Pages are an absolutely invaluable asset as stated before, for learning how to use a text only interface in the GNU/Linux world. If ever you are wanting to learn more, or finding trouble with running programs and applications, alway
Please click on the following link to open the newsletter signup page: Ghacks Newsletter Sign up
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.
The meaning of RTFM stated in the article is incorrect…
0.o maybe Mike is considering ghacks is not 18+?!? Not sure exactly when it started but we are no doubt long into a new era en.wikipedia.org/wiki/RTFM
Don’t forget the complementary command ‘info’. More documentation is sometimes available this way.
Usage example: info mount
“One of the things that terrifies” me about Linux, is the professional advices of its communauty. I was advised as email box to use OpenMailbox, and now since the recent f*****g changes without any warning, I have been taken hostage, I can’t even remove my account, the owner has locked the button! I really would like on Ghacks to read an article on that subject, OpenMailbox :(((
Agghhh. No warning? Dead email? Can’t do things? Sound like Windows.
What always scares me about Linux is what happens if you make a typo? It looks like it would be real easy to kill your machine, or if you only injured it, how would you ever find the wound so you could heal it?
To my mind, the most valuable option to man is -k xyz. What it does is to search the program names and the program descriptions, and display a list which consists of all the program names containing the string “xyz” and all the program descriptions containing the string “xyz”. If no program or description has the string “xyz”, the response will be “xyz: nothing appropriate.” Hint: use “more” or “less” to read the list easily. Sample command:
man -k link | more
I used and programmed with Linux for several years before I found the -k option.