Hello All,
In whotofile.c, we can see that we are redirecting the output of who to a file.
In pipe.c, we see that we are redirecting the o/p of first command as the input to the next command.
I want to write a program without using dup or dup2 to redirect the output of who as the input of sort.
Can anyone please help me with this?
Thanks in advance.
-KiranJyothi
In whotofile.c, we can see that we are redirecting the output of who to a file.
In pipe.c, we see that we are redirecting the o/p of first command as the input to the next command.
I want to write a program without using dup or dup2 to redirect the output of who as the input of sort.
Can anyone please help me with this?
Thanks in advance.
-KiranJyothi
Comment