Start screen for the first time
Detach the screen
Re-attach the screen
see how many screen are available
restore screen 7849.pts-0.mint
screen -r 7849
activate logging feature when the first time running screen
How to check if I’m in screen session?
detaches a running Screen from its current session and reattaches the session on the local machine.
attaches to a running session without detaching from its current attachment. This argument is especially useful when you and another user are trying to access the same session at the same time.
detaches a running session from its current attachment and performs a force reattachment. This is useful when the -dr option is unsuccessful.
forces a Screen to resize all of its windows to the current window when it attaches.
starts a Screen session but instead of loading a shell it will load an arbitrary command. If you create additional Screen windows they will also run this command.
screen -X [command]