2021-10-11

Send a process to the background - "fork" - the command missing from Linux proper

These will send the process to the background and send a "wall" broadcast when complete.

$ cat fork
#!/usr/bin/bash
echo $*
(/usr/bin/nohup /usr/local/etc/fork2 $* > /tmp/nohup$$.txt &)&


$ cat fork2
#!/usr/bin/bash
/usr/bin/wall $* completed

No comments:

Post a Comment

Linux NetworkManager command line configuration

 Configure Network Settings Using Network Manager in Linux Last updated: March 25, 2025 Written by:baeldung Network ConfigurationNetworkMana...