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


Please Help Members By Posting Answers For Below Questions

What command should you use to check your file system?

518


Can I delete .bash history?

505


What is cmake in linux?

599


You wish to print a file ‘draft’ with 60 lines to a page. What command would you use?

554


What is p command?

562






Is llvm a virtual machine?

553


What daemon is used for scheduling of the commands?

515


What does grep command do?

565


What is the difference between rmdir and rm r?

611


What does execute mean in linux?

534


What is git command?

516


What is cpu in linux?

519


Brief about finger username?

556


How do you kill a process in linux?

546


What is shell scripting commands?

521