Tagged Questions
0
votes
1answer
124 views
ps | grep shows bad output in subshell with jobs running in the background
I am using bash. I have a file named "a2draw" that contains only 1 line:
sleep 99999
I start it using this command:
bash a2draw &
Now, I know and understand the trick with square bracket ...
25
votes
2answers
2k views
In what order do piped commands run?
I've never really thought about how the shell actually executes piped commands. I've always been told that the "stdout of one program gets piped into the stdin of another," as a way of thinking about ...