29. How to display top 10 users
Who | head -10 | wc –w

Answer Posted / supriya

who | head -10

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are bash commands?

599


Write a command that will display files in the current directory, in a colored, long format.

689


Can you enlist some commonly used network commands?

604


How to find $ai_serual resolved path by using unix

1029


Enlist some filename manipulation commands in unix.

556






Does cp command overwrite files?

626


What does the md command do?

578


How can we use grep command in unix?

621


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1765


How do I run a bash script?

587


What is nr in awk command?

610


Explain command to view process running?

618


What is {} in find command?

584


How do I search a whole word in vim?

693


What command is used to switching between users in unix?

565