Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / puru

Who | head -10

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of cut command in unix?

1290


What are filter commands in unix?

1101


why metadb requires a seperate slice to create Solaris volume manager

3076


What is rmdir command?

1038


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

1153


What is updatedb?

989


What do chmod command do?

1136


Which command is used to restrict incoming messages?

1042


Explain ‘library functions’ with respect to unix commands?

1111


How do I use grep to find a file?

1056


What is the difference between cat command and more command?

1125


Which command is used to kill the last background job?

1289


Enlist some filename manipulation commands in unix.

1081


How do I search for a file in unix command?

974


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:

2201