Tuesday, 14 May 2024

 Using the Man command

For getting help on the use of Linux command line utils, use the man command.

The sections of the manual are:

           1.   General Commands Manual

           2.   System Calls Manual

           3.   Library Functions Manual

           4.   Kernel Interfaces Manual

           5.   File Formats Manual

           6.   Games Manual

           7.   Miscellaneous Information Manual

           8.   System Manager's Manual

           9.   Kernel Developer's Manual


Example use:

Show the manual page for stat(2):

           $ man 2 stat

 Show all manual pages for ‘stat’.

           $ man -a stat

List manual pages which match the regular expression either in the title or in the body:

          $ man -k '\<copy\>.*archive'

Show the manual page for ls(1) and use cat(1) as pager:

           $ man -P cat ls

Show the location of the ls(1) manual page:

           $ man -w ls


  Podman Command Summary