Getting Help

From Initq

Jump to: navigation, search

There are many ways of getting help in the Bash shell. Following are a few ways.

Contents

help

help -s

Display a summery for the command you specify.

qais@qais:~$ help -s printf
printf: printf [-v var] format [arguments]

man

man stands for manual pages. Linux divides its manual pages into a number of logical volumes.Volume 1 contains commands you can execute from the shell.

  • man 1 date

-k

search for particular keyword and list all man pages referring to that keyword.

  • man 1 -k alias

-a

match across all manual volumes.

info

Personal tools