screen 1

screen

# to create screen session and name it
$ screen -d -m -S 
# to detach screen 
CTRL+A+D
# to reattach
$ screen -r 

Here is what the above code is Doing:
1. Create a screen session and name it
2. Detach from the screen session
3. Reattach to the screen session

Similar Posts