Which is the parent and child process in following command?
$ ls -l | wc -l
Regards
Brownaryan
www.unixhelpline.blogspot.com
Page 1 of 1
Which is the parent and child process in following command?
#2
Posted 30 June 2008 - 11:23 AM
Parent is the shell in which you are running.
ls & wc will be short lived child of the above.
ls & wc will be short lived child of the above.
Vibhor Kumar Agarwal
#3
Posted 01 July 2008 - 04:36 AM
Hey There,
Another way of looking at is that any process spawned by another process is the child of that process (textbook, I know
As stated above, for pipelines, there's not distinct parent-child relationship between the elements in the pipe, no matter how long the pipe is, as they're all children of the process spawning the pipe (the shell)
What he said, probably
Cheers,
Mike
Another way of looking at is that any process spawned by another process is the child of that process (textbook, I know
What he said, probably
Cheers,
Mike
The greatest viral marketing idea of all time, get your copy of this Free Report now!
----
Linux Tips, Trick and Advice -- The Linux and Unix Menagerie
----
Linux Tips, Trick and Advice -- The Linux and Unix Menagerie
Share this topic:
Page 1 of 1

Help












