Run Terminals INSIDE Terminals | The Screen Command on Linux

preview_player
Показать описание
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

#Linode #linux #sysadmin
Product: Linode, Screen Command, Sysadmin, Open Source; @TechHut
Рекомендации по теме
Комментарии
Автор

I use both screen and tmux. They're much better than nohup and disown.

DV-mlfm
Автор

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.

sendgl
Автор

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.

kdg
Автор

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)
👍

-someone-.
Автор

Great explanation and a very useful command. This is just the information I was looking for.

chuckles
Автор

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.

pepeshopping
Автор

Very useful, but I prefer to use tmux

CarlosGT
Автор

Now that GITea has been forked by CodeBerg,
Can we have a tutorial on Forgejo ?

AcidiFy