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

How do I stop a linux job?

555


How do I run a bash script in linux?

512


What commands are used to see all jobs running in the hadoop cluster and kill a job in linux?

556


What is the difference between find and locate command in linux?

546


What does curl command do in linux?

491






What does in makefile do?

562


What are the linux commands used in devops?

554


What is the command can be run to remove all the rules in an iptable table?

584


What is apple llvm?

544


What is filter command in unix?

547


How do you copy in terminal?

563


Why ms dos is used?

608


State and explain about features of UNIX?

579


How do I search bash history?

507


How do you create a text file in linux?

540