Leaving a long script running in the background from a SSH session
nohup ./my-script.sh &gt;&gt; my-output.txt 2&gt;&amp;1 &amp;        Enter fullscreen mode          ...
Tags: bash, cli, linux, ssh