Tmux Tutorial for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024
  • Tmux Cheat Sheet:
    www.linuxtrain...

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

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

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

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

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

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

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

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

    best beginner video on tmux ever

  • @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.

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

    Very helpful to get started with tmux! Thank you

  • @Marcus001
    @Marcus001 10 หลายเดือนก่อน +12

    This will make it easier to remove GUI from my life

  • @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!

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

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

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

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

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

    Very informative...thnx

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

    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  หลายเดือนก่อน

      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 หลายเดือนก่อน

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

  • @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.)

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

    very good

  • @temirbek
    @temirbek 16 วันที่ผ่านมา

    how to stop that running seconds? )

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

    Great man...

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

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

    • @LinuxTrainingAcademy
      @LinuxTrainingAcademy  6 หลายเดือนก่อน +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 5 หลายเดือนก่อน +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