Custom Search

Saturday, November 22, 2014

Linux How to use man page to find information

1)
Search in all man pages
#man -k "search-string"

2)
Find the location of man page of a command
#man -wa {command}
#whereis {command}

Example:
#man -wa curl
/usr/share/man/man1/curl.1.gz
 

#whereis curl
curl: /usr/bin/curl /usr/bin/X11/curl /usr/share/man/man1/curl.1.gz


3)
Open a man page
#man {command}

#man {path-to-man-page}

Example:
#man -wa curl
/usr/share/man/man1/curl.1.gz
#

#man /usr/share/man/man1/curl.1.gz
#

No comments:

Post a Comment