QUESTION 5 Reference the man page for the who command. Which flags (options) whe
ID: 3845581 • Letter: Q
Question
QUESTION 5
Reference the man page for the who command.
Which flags (options) when used with the who command will generate the following output?
The output will resemble the following. The date and time may be different.
system boot 2015-05-16 09:04
run-level 2 2015-05-16 09:04
QUESTION 6
Create an alias called whopw
alias whopw='ypcat passwd | grep `whoami`'
Execute the the alias. Is the output of the alias your entry from the ypcat passwd file?
True
False
QUESTION 7
What man command option will search the short descriptions and manual page names for a keyword and print out any matches.
Again.....
What man command option?
QUESTION 8
Using the man command, determine which ls command option (flag) will list directory entries instead of contents.
Which ls command option will do this?
QUESTION 9
After executing the following command, will the contents of the file called inside be the same as the contents of the file called outside?
cat > inside < outside
You will have to create a file called outside to test this.
Yes
No
QUESTION 10
cd to ~fveglian/midterm. This directory contains a number of files.
A) What combination of options (flags), when used with the ls command, will generate the exact output in the following format?
** Make sure that you use the /bin/ls command. Your search path may not locate this version of the ls command first. **
ls -a
ls -ar
ls -r
ls -arF
zcat proj* mynotes@ manpage labs .exrc Bnotes ../ temp/ notes mbox mail history ccat apage ./Explanation / Answer
Question 5
option=> -br
-b(System boot 2015-05-16 09:04 )
-r (run-level 2 2015-05-16 09:04)
Question 6;
TRUE
Question 7;
man -k [keyword]
Question 8;
ls --d or --directory
Question 9:
YES
Question 10;
ls -arF
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.