It's good for remotely running long running processes.
That's why I came across `screen`
ssh
screen
./program
ctrl+Detach
exit
It's good for remotely running long running processes.
That's why I came across `screen`
ssh
screen
./program
ctrl+Detach
exit
good to know, thank you. 🤝
Add this into your. bash_functions
scr ()
{
echo "Disconnect from your screen session: CTRL-A, d";
echo "Open another screen 'window': CTRL-A, c";
echo "Cycle through you open screen windows: CTRL-A, space";
read -p "Press enter to continue";
screen -ls | grep --color=auto -q Main && screen -xr Main || screen -S Main
}
export - f scr
Now you have a shortcut that remembers if you had a running session.