notes

Help

Man

  1. man - prints help for command
     man cmd
    
  2. man -k - get all pages which contain specified string
     man -k syslog
    
  3. whatis - get the description of help page
     whatis route
    
  4. whereis - get help page location
     whereis -m whois
    
  5. To get help about linux file system use
     man heir
    
  6. Update mandb database
     mandb
    

Usefull man pages

  1. man man
  2. man apropos
  3. man whatis
  4. man 3 getaddinfo
  5. man inet
  6. man 7 ip

Info

  1. info - more advance tool for storing and reading documentations
  2. info --apropos some-command - search through info documentation
  3. info info - documentation on how to use info

Reading command description

  1. [ARG] - there is an optional argument
  2. [ARG]… - there are zero or more optional arguments
  3. [[month] year] - if there is one argument it will be treated at year (remove a []); if there are 2 arguments they will be treated at month year

Additional documentation sources

  1. /usr/share/doc - contains files which were install within a package
  2. rpm -qd package-name - query all documentation files which were installed within package