How do I create a shell in Linux?

How do I create a shell in Linux?
Answer
Piping means passing the output of first command as the input of second command.
  1. Declare an integer array of size 2 for storing file descriptors. …
  2. Open a pipe using the pipe() function.
  3. Create two children.
  4. In child 1-> Here the output has to be taken into the pipe.
7 июн. 2020 г.
 

Tìm kiếm

Back
Top