Tuesday, March 4, 2008

Getting help in linux

To remember every commands in linux is a very tough job. Even experienced user cannot boast that they have remembered every single command. To get help about commands in linux, a few commands can be used.

  1. # man command
    • format and display manual pages for commands
  2. # info command
    • information document about commands
  3. # command --help
    • help on commands
  4. # whatis command
    • search the whatis database for complete words
  5. # apropos string
    • search the whatis database for strings
  6. # man -k string
    • search manual pages for strings. similar to apropos
You have to change 'strings' to your desired strings and 'command' to your desired command

No comments: