Nguyễn Trọng Tân
New member
How do I create a shell in Linux?
Answer
Piping means passing the output of first command as the input of second command.
Answer
Piping means passing the output of first command as the input of second command.
- Declare an integer array of size 2 for storing file descriptors. …
- Open a pipe using the pipe() function.
- Create two children.
- In child 1-> Here the output has to be taken into the pipe.