This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorials:findinghelp [2011/04/30 13:08] – clemens | tutorials:findinghelp [2011/04/30 13:09] – clemens | ||
---|---|---|---|
Line 15: | Line 15: | ||
Where can you find them? It's pretty simple. Think of a command. (ls, rm, chmod, kill, grep) or a program (vi, mutt, snarf, majordomo) So go ahead, type | Where can you find them? It's pretty simple. Think of a command. (ls, rm, chmod, kill, grep) or a program (vi, mutt, snarf, majordomo) So go ahead, type | ||
- | " | + | * man //command// |
command being the name of the command you want to learn about. As you can see, manpages are broken down into sections. We'll use mkdir as an example. | command being the name of the command you want to learn about. As you can see, manpages are broken down into sections. We'll use mkdir as an example. | ||
Line 82: | Line 82: | ||
In some cases, the same topic will appear on more than one section of the manual. For example, there is a chmod user command and a chmod() system call. How would you find the appropriate manpage? You can tell man which section you'd like to look under. If you wanted to find the user command you would type: | In some cases, the same topic will appear on more than one section of the manual. For example, there is a chmod user command and a chmod() system call. How would you find the appropriate manpage? You can tell man which section you'd like to look under. If you wanted to find the user command you would type: | ||
- | " | + | * man 1 chmod |
This would display the manpage for the user command chmod. References to the specific sections are traditionally placed in parenthesis after the command name like so: chmod(1) | This would display the manpage for the user command chmod. References to the specific sections are traditionally placed in parenthesis after the command name like so: chmod(1) | ||
Line 88: | Line 88: | ||
Well, this is all fine and good if you know the name of the command, but what if you can't remember the name? 'man -k' can be used to search for keywords in the command descriptions. So, if you want to find a mail program you would type: | Well, this is all fine and good if you know the name of the command, but what if you can't remember the name? 'man -k' can be used to search for keywords in the command descriptions. So, if you want to find a mail program you would type: | ||
- | " | + | * man -k editor |
A list of commands with the keyword " | A list of commands with the keyword " | ||
Line 108: | Line 108: | ||
helpThe SDF help system.faqA collection of frequently asked questions. Type 'g ' to enter a topic, ' | helpThe SDF help system.faqA collection of frequently asked questions. Type 'g ' to enter a topic, ' | ||
- | And of course there are the online tutorials that you are reading right now! The top level page is http:// | + | And of course there are the online tutorials that you are reading right now! The top level page is [[tutorials:tutorials]]. |