I know screen before just to replace puty or secureCRT on my linux machine to entering console to my networking devices I mean router or switches. But after I enrolling course it's much more feature of screen that I found!
If you would know more about how to console switch or router using terminal on linux by using screen command please go to my post here!
https://andre-networking.blogspot.com/2018/04/how-to-console-router-from-terminal.html
Actualy by using screen command you can run multiple task in one screen terminal. Let say if you are using SSH and you ran apt-get upgrade it's maybe will run very slowly for some of you because of various reasons. Using screen command allow you to create one more session for you to do another task. It's okay if you are using desktop linux phraps you just open another terminal to doing another task. How about using ubuntu server or login using SSH?
The answer is screen command will get rid of the current jobs on your linux machine.
#screen
# screen -list
There is a screen on:
85.console.localhost (03/30/19 14:33:05) (Attached)
1 Socket in /run/screen/S-sysadmin.
you are now in the another screen see the lable is attached
Now we will try to create one screen session to upgrade my machine so they will not get in my way to do another jobs
#screen -S upgrade_machine -d -m apt-get upgrade
# screen -list
There are screens on:
128.upgrade_machine (03/31/19 18:39:24) (Detached)
85.console.localhost (03/31/19 18:18:43) (Detached)
2 Sockets in /run/screen/S-sysadmin.
you see that we have two session with ID 128 and 85
How to get back into you screen session ?
#screen -r 128
You will be taken into screen with the ID 128 which is the task where you doing the upgrade systems
How to exit screen? you just simply need to type exit command
#exit
2 komentar
Click here for komentarThanks for sharing this post and its very helpfu, Also Check this Firewalla Gold: Everything You Need To Know About
ReplyI truly like to reading your post. Thank you so much for taking the time to share such a nice information How to Troubleshoot a Wireless Mouse That’s Not Working?
ReplyTulis komentar anda... Conversion Conversion Emoticon Emoticon