How does one process we can start an executable file? How to
get the PID process, which we started?
Answer Posted / sangeetha
We can start a new process from an existing process by
calling the function system("new process &"). The & sign
indicates the new process will run in background. Then
after this we can use the "ps" command to get the PID of
the new process.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you grep a case insensitive?
How many unix commands are there?
What do chown command do?
Which unix command lists files/folders in alphabetical order?
Which command should you use to find the remaining disk space in unix server?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What's a command word?
What is the use of find command in unix?
Explain the steps that a shell follows while processing a command.
Give the command for finding the current date.
Enlist some filename manipulation commands in unix.
What is the use of finger command?
What is the use of sed command in unix?
Explain ‘library functions’ with respect to unix commands?
Name the general commands in using unix os for a beginner?