Doubt ls-l|more
From: Datha (dathak@semsoftindia-samsung.com)
Date: 04/21/03
- Next message: Iain D Broadfoot: "Re: Doubt ls-l|more"
- Previous message: Heiner Steven: "Top 10 subjects comp.unix.questions"
- Next in thread: Iain D Broadfoot: "Re: Doubt ls-l|more"
- Reply: Iain D Broadfoot: "Re: Doubt ls-l|more"
- Reply: Jens.Toerring@physik.fu-berlin.de: "Re: Doubt ls-l|more"
- Reply: Datha: "Re: Doubt ls-l|more"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: dathak@semsoftindia-samsung.com (Datha) Date: 21 Apr 2003 00:36:26 -0700
Hi,
I have one new doubt of Unix.
We have the combination of commands called ls -l|more.Can somebody
explain working of this comand. My doubt is, let me list down the
probable steps.
1. Shell will fork one child to execute abve command.
2. Ls executes which will list the directory contents.
3. LS actually has to feed the data into a pipe so that more can use
it.
4. more will read from the pipe and display on Screen.
5. That looks like end of story.
Now my doubt is in step number 3, how 'ls' will feed the data into the
pipe. How 'more' gets info on which is the pipe it has to read.
Can u clear the doubt.
IF POSSIBLE PLEASE cc TO datk@rediffmail.com
-datha
- Next message: Iain D Broadfoot: "Re: Doubt ls-l|more"
- Previous message: Heiner Steven: "Top 10 subjects comp.unix.questions"
- Next in thread: Iain D Broadfoot: "Re: Doubt ls-l|more"
- Reply: Iain D Broadfoot: "Re: Doubt ls-l|more"
- Reply: Jens.Toerring@physik.fu-berlin.de: "Re: Doubt ls-l|more"
- Reply: Datha: "Re: Doubt ls-l|more"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|