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
  • Наука та технологія

КОМЕНТАРІ • 13

  • @send2gl
    @send2gl Рік тому +3

    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.

    • @DV-ml4fm
      @DV-ml4fm Рік тому +3

      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.

  • @kdg1955
    @kdg1955 Рік тому +2

    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.

  • @abdullahbaomar588
    @abdullahbaomar588 3 місяці тому

    clear and easy steps .Thanks

  • @-someone-.
    @-someone-. Рік тому +1

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

  • @DV-ml4fm
    @DV-ml4fm Рік тому +4

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

  • @Lyunpaw
    @Lyunpaw Рік тому

    You gotta love this guy. Great job.

  • @pepeshopping
    @pepeshopping Рік тому

    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.

  • @rishiraj2548
    @rishiraj2548 Рік тому +2

    Great

  • @AcidiFy574
    @AcidiFy574 Рік тому

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

    • @AkamaiDeveloper
      @AkamaiDeveloper  Рік тому

      Hey there! Thanks for the suggestion. We've added it to our internal tracking for video requests.

  • @CarlosGT13
    @CarlosGT13 Рік тому +1

    Very useful, but I prefer to use tmux

    • @DV-ml4fm
      @DV-ml4fm Рік тому +1

      Yeah, way better than nohup and disown.