Tagged Questions
0
votes
0answers
35 views
Forking two interactive bash processes causes parent process to stop or second bash to go background
If you fork (exec) two interactive bash processes within same parent process (from different threads) causes that parent process becomes stopped or second interactive bash goes to background which ...
4
votes
3answers
95 views
Coloring output of forked processes
I have a runscript that starts some processes and sends them to the background
mongod & pid_mongo=$!
redis-server & pid_redis=$!
# etc.
All these processes then output concurrently to ...
4
votes
3answers
1k views
How to totally fork a shell command that is using redirection
I've written quite a few shell scripts over the years (but I'm certainly not a sysadmin) and there's something that always caused me troubles: how can I fork a shell command immune to hangups in the ...
5
votes
1answer
204 views
Why is the following command killing a system?
Anyone understand the following code , running in bash ?
:(){ :|:& };:
It seems to be a "fork" bomb on Linux.