Question
11. Use man and info to find the answer to the following questions. a. Which ls option sorts the output by modification time? b. Which
11. Use man and info to find the answer to the following questions. a. Which ls option sorts the output by modification time? b. Which option to head displays the first five lines of a file instead of the default ten lines? Use this option to display the first five lines of the /etc/passwd file. c. Which option to tail continues to display a file as additional content is added to the file? (Hint: Search the tail man page for follow.) Use this option to watch the /var/log/syslog file grow. How do you exit from tail? d. Which option to cal displays three months instead of the default current month? e. Use whatis to display a list of man pages that have the string passwd in their short descriptions. f. Display the man page for the file named password (not the utility). g. Use man with the k option to find a utility that shows who is logged in on the system. A man k command yields the same output as apropos. h. Which command reports on free disk space? (Tip: When you want to search for a string of characters that includes a SPACE, put quotation marks around it: "disk space".)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started