The program "Screen" can run processes in background on a Linux server.
This starts an new background session with name "your-screen-name"
Restore your screen :
Quit a screen session:
This starts an new background session with name "your-screen-name"
screen -S your-screen-nameTo save the screen and return to the terminal, type Ctrl+A+D (Ctrl+A is the hint for screen that you want to do something and "D" then "d"etaches from the session without stopping it).
Restore your screen :
screen -d -r your-screen-nameList all available screen sessions:
screen -lsType screen -list or -ls to identify the detached screen session.
~$ screen -listNote: 20751.Melvin_Peter_V42 is your session id.
There are screens on:
20751.Melvin_Peter_V42 (Detached)
Quit a screen session:
screen -X -S [session id you want to kill] quitOr just type
exitif you are attached in your screen session.
Keine Kommentare:
Kommentar veröffentlichen