Hello All,
Is it possible to use popen for multiple piping.
Ex: If I want to achieve "last | sort | wc -l" command using popen, how to do it?
Is it possible?
Thanks in advance
Nanda
No, you can't.
You'll have to use dup(), fork() and exec().
Thank you Mr. lloydchristmas759 for your comments. Please share any examples if you have.