what is the difference between fork() & exec()

Answer Posted / laxman masadi

fork: Create a new process

exec: replace a process's objectcode with contents of file
(executable)

Is This Answer Correct ?    53 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Understand Network Byte Order?

1110


What are the different types of sockets?

575


What is AF_UNSPEC Address?

1914


How TCP/IP Handles Flow Control?

1221


How to test socket connection in linux?

572






What is the use of PF_INET and SOCK_STREAM?

1056


What is the Use of the inet_makeaddr() Function?

1054


What is Internet Address Classes?

1077


How to Deal with Duplicated Sockets?

1236


How to Form Traditional Local Addresses?

1025


How to Perform Endian Conversions?

1057


What is the difference between socket and port?

571


What is socket linux?

553


How to Understand Netmask Values?

1030


How to open socket file in linux?

590