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
Which command would you use to create a file system on a new hard drive?
How do I run a shell script?
What is difference between comm and CMP command?
What are the basic command in linux?
What is grep command in linux with examples?
What are whois tools?
What are the command prompt commands?
What is the command to see on which port which service is running?
Describe the mknod command and when you’d use it.
How do you insert comments in the command line prompt?
What is pwd in linux command?
What is du -s * | sort -k1,1rn | head command used for?
What is tail command in linux?
In order to display the last five commands you have entered using the fc command, you would type?
How do I check my cpu cores?