how to use man pages
hi
There are many options for a command in man pages .some options come inside [] and some with extensions - or -- .is it necessary to use the first occuring option before using the next. thanks |
I usually read a man page and then search Google for examples if I'm still unsure of how a command should be issued.
man grep examples using grep A bit of creative searching on Google will usually clear up your questions on a command enough to get you moving. If you are into books at all, one I might recommend for you is theLinux Phrasebook It's chock full of commands and examples of how they are used indexed by task rather than just the name of the command which you may not know... A compact reference that is reasonably priced. Google books has an excerpt from this book just remember the more difficult of items still don't have manuals, you'll have to figure out those items on your own.. Quote:
|
Quote:
Quote:
Code:
grep -i -v Code:
program --verbose --yes Quote:
Code:
cp -i -p somefile anotherfile Code:
cp -i -p somefile anotherfile |
BTW, peruse less on how to navigate through out man.
$ man less |
another nice.to.know:
Code:
man -k sex |
Another "linux Phrasebook" recomendation here :)
You can get the book cheap and it really shows you some command line key commands. Nice job by the writer. |
to farslayer
Thank you very much farslayer for u r quick response .actually this is my first question and i never expected sucha a quick replay.
|
to matthewg42
hi matthewg42 thanks for u r detailed explanation .the greatest thing u have done regarding my question is u have understood perfectly what i wanted to say.
Also u have mentioned about GNU coding standards document .can u tell me where can i find them. |
Quote:
|
thanks again
one more question.i am using fedora.i want to know about the version and using the following command i got the result below .why there is no information regarding fedora. uname -a Linux localhost.localdomain 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:47:07 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux |
Code:
man uname |
A nice way to read man pages is to enter "man:topic" in konqueror. Sometimes you might want a hardcopy printout: man -t topic | lpr
|
Quote:
|
Quote:
Code:
cat /etc/fedora-release |
That uname output finishes with 'fc7' => fedora core 7 :)
|
All times are GMT -5. The time now is 04:13 PM. |