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
What is the use of recvfrom(2) Function?
How TCP/IP Handles Sequencing?
What is socket linux?
How to perform I/O on Sockets?
How TCP/IP Handles Flow Control?
What are the best linux system programming interview questions you've ever asked or been asked?
How to Understand Netmask Values?
What are sockets used for?
How to open socket file in linux?
How do udp sockets work?
What are the Advantages of TCP/IP?
What does socket consist of?
How to Test the Datagram Client and Server?
What is the use of SOCK_DGRAM Socket Type?
How to look up a Service by Port and Protocol?