In linux screen command provides you an option to run any command with shell session, it can run locally or remotely. What happened when run any command on terminal locally or remotely and you close the session so in that case whatever you were running on terminal it close but when you run command with screen it run with a screen session on Linux machine it does not terminate even after closing terminal/shell session that is the main benefit of running command with screen.
# Type command screen to run command
screen
# It detach a screen session without stopping it.
Ctrl+a + d
# List running screen session
screen -ls
# Attach running screen session
screen -r 1338
Excellent Blog.
ReplyDeleteLearn Industrial Linux Training in Noida from Galaxy Cloud
https://galaxycloud.in/linux-training.php