Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-29-2004, 06:42 AM   #1
LQ Newbie
Registered: Nov 2004
Location: kolakaran pettai
Posts: 7

Rep: Reputation: 0
what is the difference between Fork & exec


I was not able to understand the difference between the fork and exec
Old 11-29-2004, 07:32 AM   #2
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
fork starts a new process which is a copy of the one that calls it, while exec replaces the current process image with another (different) one


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to fork/ exec schneidz Programming 10 08-30-2005 11:50 AM
Programming: fork, exec and system memory atienza Programming 2 08-24-2005 07:26 AM
What's difference btw. -exec and xargs rytrom Linux - Newbie 3 09-14-2004 03:42 PM
Fork 'n Exec sourceman Linux - General 4 02-14-2002 02:31 AM
child-parent-&-fork mukul Programming 2 03-24-2001 01:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration