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...

How does one process we can start an executable file? How to
get the PID process, which we started?

Answer Posted / vimal

ps -ef|grep username


gives the process started by the user.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does sed command do in unix?

1120


How can we use grep command in unix?

1144


Which command is used to copy files?

1125


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:

2204


How many unix commands are there?

1104


What is awk used for?

1079


What is used to type command?

1012


How do I use grep to search for a file?

1013


What is the search command in unix?

1050


What is the difference between cat command and more command?

1128


What is difference between grep and find command in unix?

1144


Which command is used to delete all files in the current directory and all its sub-directories?

1210


Who invented grep?

1109


What does the command '$ls | wc –l > file1' do?

1176


What does 'mkdir' command do in UNIX?

1242