What does the following command line produce? Explain each
aspect of this line.
$ (date ; ps -ef | awk {print $1}' | sort | uniq | wc -l )
>> Activity.log
Answer Posted / liam
It's retarded. The idea is clearly to post the number of
users (the first field of ps -ef), but they are going to
capture the title line. Also, just use 'who'!
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is p in mkdir?
You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?
What are the examples of simple command?
What is the purpose output of cd command?
What is devops model?
What are the commands in linux?
What commands are used to see all jobs running in the hadoop cluster and kill a job in linux?
What is grep command in linux with examples?
What is nbtstat command?
What is nslookup command?
You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?
What is mkdir?
What is clang llvm?
What does grep grep do?
Which daemon is used for scheduling of the commands?