How can I run a shell script and immediately background it, however keep the ability to inspect its output any time by tailing /tmp/output.txt
It would be nice if I
Another way is using the nohup command with & at the end of the line.
nohup
&
Something like this
nohup whatevercommandyouwant whateverparameters &
This will run it in the background and send its output to a nohup.log file.