Run Terminals INSIDE Terminals | The Screen Command on Linux
Вставка
- Опубліковано 2 чер 2024
- In this video @TechHut covers the basics of the screen command. The screen command is a tool that lets you launch and use multiple shell instances from a single SSH connection. The screen command is useful for commands that take a long time to run, allowing you to continue those commands in the background while you interact with your server.
Chapters:
0:00 Introduction
0:19 What is the screen command?
1:00 Installing screen
1:40 Using screen
2:14 Keyboard shortcuts with screen
2:35 Detach the screen
2:53 Re-attach the screen
3:10 List screens
4:10 Remove a specific screen
5:00 screen man-pages
6:30 Conclusion
New to Cloud Computing? Get started here with a $100 credit → www.linode.com/lp/youtube-vie...
Read the doc for more information on useful tools in Linode→ www.linode.com/docs/products/...
Learn more about the screen command→ www.linode.com/docs/guides/us...
Subscribe to get notified of new episodes as they come out → ua-cam.com/users/linode?sub_co...
#Linode #linux #sysadmin
Product: Linode, Screen Command, Sysadmin, Open Source; @TechHut - Наука та технологія
I've tended to use tmux in the past and that is merely for being able to connect remotely, run a command that will take some time and detach from ssh but keep the remote command running. From what you have explained both screen and tmux seem similar.
Same. Before I used nohup and disown to keep a job running but you can't reattach to either one. Screen and tmux allow us to reattach sessions.
Nice. Didn't know this command existed.
Used 'fg' and 'bg' commands in the past and use 'konsole' with multiple tabs. So I don't know if the 'screen' command is much more user friendly.
But good to know it exists. Maybe one day I'll use this anyway. You already mentioned 'ssh' as a possible use case.
clear and easy steps .Thanks
Thx! Ive only ever used ctrl-a (twice) to swap between 2 screens.
From the shell I run screen, and then screen again. Then I’m able to just swap between the 2 “screens” with ctrl-a (twice)
👍
I use both screen and tmux. They're much better than nohup and disown.
You gotta love this guy. Great job.
Screen was my favorite Unix tool back in 1990 when using a VT120 serial terminal connected to a big Vax running Ultrix.
After telnet and then ssh, and now Remote Desktop, I have not need to use it or even install it but together with tcsh were the best sysadmin and programming tools.
Great
Now that GITea has been forked by CodeBerg,
Can we have a tutorial on Forgejo ?
Hey there! Thanks for the suggestion. We've added it to our internal tracking for video requests.
Very useful, but I prefer to use tmux
Yeah, way better than nohup and disown.