I can’t believe I’ve only just discovered the gnu
screen command. You want to kick off a long running command line process and come back to it later? Like so:
- Open a
ls -R /
- Quit Terminal, and hum to yourself for a few seconds
- Open a new Terminal window and type
Now that’s what I call magic.
It survives logouts and is of course an essential for working with remote or cloud machines over ssh; when your network connection fails you can log back in and carry on.
man screen will tell you more, although so will https://www.bing.com/search?q=linux+screen