GETTING HELP WITH UNIX COMMANDS Problem 1 (10 points): Look up the man page for
ID: 3590377 • Letter: G
Question
GETTING HELP WITH UNIX COMMANDS Problem 1 (10 points): Look up the man page for the man command, and use it to answer the following questions: a) What did you type to look up this man page (give the entire command)? b) Who was the original author of the man c c) Which command flag can be used with the man command to have it display help information? d) Which command flag can be used with the man command to make it behave the same as the whatis command? e) What flag to the man command makes it behave like the apropos command, doing a keyword search of the man pages? fName 5 different types of information you can discover about a command using man.Explanation / Answer
a)Answer:
The man command itself is extremely easy to use. Its basic syntax is
man [option(s)] keyword(s)
Example:
The following provides information about the ls command (which is used to list the contents of any specified directory):
man ls
b)Answer:
The first actual man pages were written by Dennis Ritchie and Ken Thompson at the insistence of their manager Doug McIlroy in 1971. The printed version of the manual initially fit into a single binder, but as of PWB/UNIX and the 7th Edition of Research Unix, it was split into two volumes with the printed man pages forming Volume 1
c)Answer:
-h,--help:
print help message and exit
d)Answer:
-f ,--whatis
Equivalent to the whatis command displays a short description from the manual page,if available.
e)Answer:
-k,--apropos:
Equivalent to the apropos command;search the short manual page description for keywords and display any matches.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.