Question : bash how to use screen
Answered by : charlesalexandre-roy
# Note, screen is useful for continuing processes (e.g. downloads) on a
# remote server without having to stay logged in to the server
# Basic syntax:
screen # This starts a new screen.
# After starting a long process, e.g., a download, detach with:
CTRL+a d # To detach from screen, press CTRL+a, release, then press d
# To view active screens:
screen -ls # The first numbers by each screen indicate the screen_number
# To resume active screen:
screen -r # If there is only one active screen
screen -r screen_number # If there are multiple active screens
# To close a screen after detaching:
screen -X -S screen_number quit
# View all CTRL+ commands available in screen:
CTRL+a ?
# Note, I recommend tmux over screen now.
Source : https://linuxize.com/post/how-to-use-linux-screen/ | Last Update : Sun, 11 Oct 20
Question : new screen linux
Answered by : dead-dotterel-l5ccx8kkpk0o
# To start a new screen
screen -S your_screen_name
Source : https://linuxize.com/post/how-to-use-linux-screen/ | Last Update : Fri, 04 Feb 22
Question : create a screen command
Answered by : matteo-cera
screen -S screen_name
Source : https://stackoverflow.com/questions/7049252/how-to-create-a-screen-executing-given-command | Last Update : Tue, 03 Nov 20