Tmux Tutorial for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024

ความคิดเห็น • 35

  • @LinuxTrainingAcademy
    @LinuxTrainingAcademy  ปีที่แล้ว +4

    For a tmux cheat with even more commands, visit: www.linuxtrainingacademy.com/tmux-tutorial/

    • @kirkbass2117
      @kirkbass2117 12 วันที่ผ่านมา +1

      not all heroes wear capes, unless you do, thanks!

  • @informatik01
    @informatik01 8 หลายเดือนก่อน +4

    Agree with others: this is probably the best introductory video tutorial on tmux.
    Thank you!

  • @developer_cha1nsaw
    @developer_cha1nsaw 9 หลายเดือนก่อน +6

    best beginner video on tmux ever

  • @MichaelCampbell01
    @MichaelCampbell01 9 หลายเดือนก่อน +4

    Been using tmux for years, but learned a few shortcuts here. Thanks.

  • @TonyGonzales
    @TonyGonzales ปีที่แล้ว +3

    Excellent teaching style, learning through doing is key for me. Just the right amount of review smuggled in also, thanks for this launchpad.

  • @BOOSTEDDUDE
    @BOOSTEDDUDE หลายเดือนก่อน +1

    Nice & clearly explained! Sub'd

  • @Marcus001
    @Marcus001 ปีที่แล้ว +12

    This will make it easier to remove GUI from my life

  • @abhishekshah11
    @abhishekshah11 3 หลายเดือนก่อน +1

    Very helpful to get started with tmux! Thank you

  • @uajoku
    @uajoku ปีที่แล้ว +2

    Very invaluable. I just learnt something so useful from this video.

  • @PCMrTrickster
    @PCMrTrickster ปีที่แล้ว +3

    Thanks for your video. I think you could mention also about [Ctrl-b w] which is probably more convenient than [Ctrl-b s] as it shows list of all sessions and windows currently available.
    But anyway thanks for your job - not only this video but also all Linux lessons and courses you create. You have a very good approach and your presentations are always very clear and useful.

    • @LinuxTrainingAcademy
      @LinuxTrainingAcademy  ปีที่แล้ว +2

      Agreed... Ctrl-b w is very handy! (I have that on the tmux cheat sheet...) Thanks!

  • @acuffaro
    @acuffaro ปีที่แล้ว +1

    Very informative, clear explanations and straight to the point. Thanks a lot!

  • @linuks87
    @linuks87 ปีที่แล้ว +2

    I questioned myself, how don't know this yet? Thank you so muck

  • @kushalpsv
    @kushalpsv ปีที่แล้ว +3

    Thank you your video was very helpful, thanks for teaching the basics

  • @chrisoreta
    @chrisoreta ปีที่แล้ว +2

    Very informative...thnx

  • @JibranAnjumChughtai
    @JibranAnjumChughtai 11 หลายเดือนก่อน

    Great man...

  • @2u841r
    @2u841r 6 หลายเดือนก่อน

    very good

  • @michaelharmon5502
    @michaelharmon5502 3 หลายเดือนก่อน

    If using it on a mac, it it command-b instead of control-b for all these commands? Control-b doesn't do anything, neither does command-b. This is a new tmux install via homebrew. Any help would be appreciated.
    EDIT: The problem was the terminal emulator program I was using. When using Konsole by KDE, the control-b key doesn't work. I switched to the default macOS terminal and it works. Yay!

    • @LinuxTrainingAcademy
      @LinuxTrainingAcademy  3 หลายเดือนก่อน

      No. (However.... in the future I would encourage you to run mini experiments; in this case type command-b and see what, if anything, happens.)

    • @michaelharmon5502
      @michaelharmon5502 3 หลายเดือนก่อน

      @@LinuxTrainingAcademy Thanks for the tip. And thanks for making the video too!! I learned a lot.

  • @temirbek
    @temirbek 2 หลายเดือนก่อน

    how to stop that running seconds? )

  • @eldiablo3794
    @eldiablo3794 ปีที่แล้ว +1

    Whats the difference between Terminator and tmux? Im newer to Linux but I use Parrot OS. It comes with Terminator, and that's what I use to run multiple terminals.. is tmux better?

    • @the0val
      @the0val ปีที่แล้ว +3

      The main difference for me is that tmux is portable (in two ways). You can use tmux any time you enter a terminal, including over SSH. You can even start tmux on one SSH session, detach, and resume from either SSH or locally. Your tmux config is just a simple dotfile that you can copy to all your machines. Terminator is basically the same as opening another window or tab, just with neat tiling.

    • @LinuxTrainingAcademy
      @LinuxTrainingAcademy  ปีที่แล้ว +4

      Tmux isn't "better", nor is it "worse" than Terminator. Each tool serves a different purpose.
      The primary purpose of tmux is to allow you to create multiple terminal sessions and control them from a single screen within a text-based environment, often leveraging this feature to maintain sessions over remote connections, even when disconnected. (If you work on remote systems, you'll want to use tmux, and run tmux on the remote systems.)
      The primary purpose of Terminator is to provide you with a graphical tool to manage multiple terminal windows and sessions in a graphical (GUI) environment. (If you only want to work on your local system, you'll probably want to use Terminator.... That said, you can start Terminator as your GUI terminal application and use tmux within it. IE, start Terminator, ssh into your remote system and then start tmux.)

  • @ramirroxd6986
    @ramirroxd6986 8 หลายเดือนก่อน

    i cannot get ctr+b to ever work, i have tried everything

    • @LinuxTrainingAcademy
      @LinuxTrainingAcademy  8 หลายเดือนก่อน +1

      1. Check Tmux Installation
      First, ensure that Tmux is correctly installed and running by opening a terminal and typing tmux. If Tmux starts successfully, you should see a new session with a green status bar at the bottom.
      2. Verify the Prefix Key
      You must press and hold the Ctrl key and then press the B key. After releasing both keys, you should immediately press the desired command key (e.g., D to detach, C to create a new window).
      3. Keyboard Layout and Language Settings
      If the keyboard layout or language setting is different from English (US), the placement of the keys might vary, making the Ctrl+B combination not work as expected. Check your keyboard settings and ensure you're pressing the correct keys.
      4. Custom Key Bindings
      It's possible that the Ctrl+B binding has been overridden by a custom configuration in the ~/.tmux.conf file. You can check this file for any line that starts with set -g prefix and see if the prefix key has been changed. If you want to revert to the default, you can either remove this line or set it to set -g prefix C-b.
      5. Conflicting Applications
      Another application running in the background may intercept Ctrl+B before it reaches Tmux. This can include terminal emulators with their own shortcuts, screen readers, or other accessibility tools. You should try closing other applications or changing the conflicting shortcut in those applications.
      6. Test with a Different Terminal Emulator
      Sometimes, the issue might be with the terminal emulator itself. Try a different terminal emulator to see if the problem persists.
      7. Reset Tmux Configuration
      If you have made changes to the Tmux configuration and suspect that might be the cause, you can try moving or renaming your ~/.tmux.conf file and restarting Tmux to see if the issue resolves. This can be done with the command: mv ~/.tmux.conf ~/.tmux.conf.backup.
      8. Ensure Tmux is Responding
      Finally, make sure that Tmux is responsive. Open Tmux and try pressing Ctrl+B, followed by : to bring up the command prompt at the bottom of the window. If this works, Tmux is responsive, and the issue is likely related to how you are pressing the keys or a specific command you are trying to use.

    • @ramirroxd6986
      @ramirroxd6986 7 หลายเดือนก่อน +1

      @@LinuxTrainingAcademy whoa thanks , it works now actually , i figured it out , and not to my surprise it was such a silly little workaround. im become quite a pro with tmux now XD