Screen command is very usefull to retain the ssh sessions even if connection to the server is lost.The main advantage is that the ongoing process will continue even if connection was reset.
To use screen command,first we had to begin a screen session with any name
screen -S test(Example)
Then a session named test is started.
To show available screen sessions
use screen -ls
To re-attach to a session, use the re-attach command:
screen -r
To use screen command,first we had to begin a screen session with any name
screen -S test(Example)
Then a session named test is started.
To show available screen sessions
use screen -ls
To re-attach to a session, use the re-attach command:
screen -r
31619.ttyp2.gigan
Thats all.
No comments:
Post a Comment