Tmux Tutorial for Beginners

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии •

  • @LinuxTrainingAcademy
    @LinuxTrainingAcademy  Год назад +3

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

  • @developer_cha1nsaw
    @developer_cha1nsaw 8 месяцев назад +6

    best beginner video on tmux ever

  • @informatik01
    @informatik01 8 месяцев назад +4

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

  • @MichaelCampbell01
    @MichaelCampbell01 8 месяцев назад +4

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

  • @BOOSTEDDUDE
    @BOOSTEDDUDE 17 дней назад +1

    Nice & clearly explained! Sub'd

  • @Marcus001
    @Marcus001 11 месяцев назад +12

    This will make it easier to remove GUI from my life

  • @abhishekshah11
    @abhishekshah11 2 месяца назад +1

    Very helpful to get started with tmux! Thank you

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

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

  • @uajoku
    @uajoku Год назад +2

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

  • @kushalpsv
    @kushalpsv Год назад +3

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

  • @acuffaro
    @acuffaro Год назад +1

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

  • @chrisoreta
    @chrisoreta Год назад +2

    Very informative...thnx

  • @linuks87
    @linuks87 Год назад +2

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

  • @2u841r
    @2u841r 6 месяцев назад

    very good

  • @JibranAnjumChughtai
    @JibranAnjumChughtai 10 месяцев назад

    Great man...

  • @michaelharmon5502
    @michaelharmon5502 2 месяца назад

    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  2 месяца назад

      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 2 месяца назад

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

  • @temirbek
    @temirbek Месяц назад

    how to stop that running seconds? )

  • @ramirroxd6986
    @ramirroxd6986 7 месяцев назад

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

    • @LinuxTrainingAcademy
      @LinuxTrainingAcademy  7 месяцев назад +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

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