Skip to main content

Posts

Showing posts from April, 2014

Remote Linux System access with resume working terminal while access using SSH connection

Remote Linux System access with resume working terminal while access using SSH connection
1. Install screen command # yum install screen or $sudo apt-get install screen
2. Create Screen $ screen -S <screen_name>
$ screen -S screen-terminal1
3. Check existing screen $ screen -ls
4. Detach the working screen $ screen -D
5. Terminate the working screen $ exit
6. share the working screen or reattach screen $screen -x <screen-name>
$ screen -x screen-terminal1
If anytime your network is disconnect from network then you can just login the Linux system and reattach working screen. Its very useful utility when you need to run a program on terminal for many hours or days and share your terminal with other.