what is the difference between fork() & exec()
Answer Posted / dheeraj gahtori
processes began through a process called "fork and exec".
that is when one command starts another, the child process
first forks , the kernel copying over pages of memory from
the present process to a new location for the child process.
The child then execs, executing the new command and
overwriting the data
Is This Answer Correct ? | 8 Yes | 17 No |
Post New Answer View All Answers
How to Form Abstract Local Addresses?
What is the difference between socket & port?
How TCP/IP Handles Flow Control?
What is the use of SOCK_STREAM Socket Type?
What is the use of inet_aton() Function?
What is the use getservent(3)?
How TCP/IP Handles Sequencing?
How to open socket file in linux?
How to read socket file in linux?
How to Perform Input/Output of Datagrams?
Are udp sockets bidirectional?
how to get client port number in server socket programming??
What are the best linux system programming interview questions you've ever asked or been asked?
How to Examin the Generic Socket Address?
How to look up a Service by Port and Protocol?