I am trying to write a program to run ls ../ | grep sg | sort
with execvp and pipe in linux
The program does what I want it to do but the sequence is wrong.
The shell always prompt before the...