Complete tmux Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ค. 2024
  • This video is aimed at demonstrating and explaining how to use tmux more efficiently. This video covers everything from managing windows and panes to sessions in tmux. tmux is a terminal multiplexer for Unix-like operating systems. It allows multiple terminal sessions to be accessed simultaneously in a single window. It is useful for running more than one command-line program at the same time.
    📈 SUPPORT US:
    Patreon: / hackersploit
    Merchandise: teespring.com/en-GB/stores/ha...
    SOCIAL NETWORKS:
    Reddit: / hackersploit
    Twitter: / hackersploit
    Instagram: / hackersploit
    LinkedIn: / 18713892
    WHERE YOU CAN FIND US ONLINE:
    Blog: hsploit.com/
    HackerSploit - Open Source Cybersecurity Training: hackersploit.org/
    HackerSploit Academy: www.hackersploit.academy
    HackerSploit Discord: / discord
    LISTEN TO THE CYBERTALK PODCAST:
    Spotify: open.spotify.com/show/6j0RhRi...
    We hope you enjoyed the video and found value in the content. We value your feedback. If you have any questions or suggestions feel free to post them in the comments section or contact us directly via our social platforms.
    Thanks for watching!
    Благодарю за просмотр!
    Kiitos katsomisesta
    Danke fürs Zuschauen!
    感谢您观看
    Merci d'avoir regardé
    Obrigado por assistir
    دیکھنے کے لیے شکریہ
    देखने के लिए धन्यवाद
    Grazie per la visione
    Gracias por ver
    شكرا للمشاهدة
    #tmux
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Yes, I know the video is short, but this was my way of studying to understand it better and hopefully, it helps you find exactly what you're looking for :) all the commands are placed within the (parenthesis). Let me know if there are any errors or if I missed anything!
    Installing tmux: @0:50
    Starting a session: (tmux) 1:20
    tmux windows navigation explained: 1:30
    panes explained: 2:20
    verticle pane: (ctr+b %) 2:45
    switching between panes: (ctr+b directionalArrowKey) 3:02
    horizontal pane: (ctr+b ") 3:32
    exiting a pane: (exit) 4:15
    tmux windows explained further: 4:48
    new window: (ctr+b c) 5:09
    switching to different windows: (ctr+b #OfWindow) 5:32
    renaming a window: (ctr+b , NewName) 5:59
    exiting a window: (exit) 6:49
    sessions: 7:03
    detach a session: (ctr+b d) 8:04
    viewing tmux sessions running in the background: (tmux ls) 8:19
    reattaching to a session: (tmux attach -t nameOfSession) 8:45
    renaming sessions: (tmux rename-session -t oldName NewName) 9:38
    creating a named session: (tmux new -s nameOfSession) 10:05
    deleting sessions: (tmux kill-session -t nameOfSession) 10:56

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

      thanks

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

      To be honest, this is most of the information that people will ever need. You don't need a fancy intro with loads of production effects. This is a great how-to video because of it's short but clear delivery

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

      This is exactly my way of learning. You are the reason I start using it. Thank you very much!

    • @catryx1605
      @catryx1605 ปีที่แล้ว

      the install command didnt work for me, do you think it because im on windows?

    • @macgeek21
      @macgeek21 ปีที่แล้ว

      @@catryx1605 i think its cuz your a troll :P

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

    That was just 12 minutes and 6 seconds of pure gold. Thank you!

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

    Straight to the point, no BS! Exactly what I wanted.

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

    Thank you so much. All this summary about tmux was awesome. Here I leave mine about video tips plus more things I was collecting from other resources:
    - panes
    • create a new vertical pane: ctrl+b %
    • switch to the left/right pane: ctrl+b [🠔|➞]
    • change vertical/horizontal size (respectively): ctrl+b (and at the same time) [🠔|➞] | [🠕|🠓]
    • create a new horizontal pane: ctrl+b "
    • close current pane: exit
    - windows
    • windows are like a new terminal window bash where inside it new panes can be created.
    • create a new window: ctrl+b c
    • list windows: ctrl+b w
    • move to the next window: ctrl+b n
    • move to the previous window: ctrl+b p
    • move to a certain window: ctrl+b [index]
    • rename window: ctrl+b ,
    - sessions
    • sessions are preserved until the system reboots.
    • detach a session: ctrl+b d
    • outside tmux:
    ◦ view sessions: tmux ls
    ◦ reattach to a session: tmux attach -t [session_name]
    ◦ rename a session: tmux rename-session -t [session_name] [new_session_name]
    ◦ create a new session: tmux new -s new_session
    ◦ kill a session: tmux kill-session -t [session_name]
    - kill tmux server: tmux kill-server
    - restore tmux session
    • install tpm: github.com/tmux-plugins/tpm
    ⁦• install tmux-resurrect plugin: github.com/tmux-plugins/tmux-resurrect
    • save a session: from within the session ctrl+b ctrl+s
    • restore a session: (like after rebooting the computer) ctrl+b ctrl+s

    • @madacsg
      @madacsg 7 วันที่ผ่านมา +1

      WOW, Thank You! Now I wish I read this before started to taking intensive notes... :D

  • @apenet-
    @apenet- 3 ปีที่แล้ว +12

    This was such a useful tutorial. We were previously using tmux for the panes. Now we're also using it for detached processes. Thanks for making things clear.

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

    Your style and pace of explaining is really good, thanks for this!

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

    those 12mins made me understand tmux work methods easy and now I am able to customize and increase productivity with tmux. Great video.

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

    Very useful. Everything one wants to know to get started with tmux is nicely explained in this 12-minute video. Thanks

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

    So glad I found this. This made getting started and comfortable with TMUX so easy.

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

    Awesome Tutorial :) You really make it so easy to understand, thanks a ton for sharing your knowledge to the masses.

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

      Agreed! Man pages only get you so far. I like the hacking videos but I love this type of video. Stuff an admin can use daily. Thanks HackerSploit!

  • @LocoFreeman
    @LocoFreeman 2 ปีที่แล้ว

    Thanks chap, just getting into using tmux and this video really helped make sense of the differences between sessions and panes.

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

    Thanks! Great video, straight to the point and well explained. This will give me a good head start with tmux. I also learned the bonus shortcut CTRL + l (lower case L) to clear the terminal content.

  • @Ms.Robot.
    @Ms.Robot. 4 ปีที่แล้ว +3

    This is sweet! 🧚‍♀️💗 I love it! You have such beautiful lessons.

  • @johnc4624
    @johnc4624 3 ปีที่แล้ว

    This is the first thorough video that does not presume any prior knowledge of tmux (I am currently at 5:55 and still happy).
    I recommend this video.

  • @fourierautomation51
    @fourierautomation51 ปีที่แล้ว

    This video was great. Much better than other TMUX videos. Thank you for spending your time to create this video!

  • @oscarwang9638
    @oscarwang9638 2 ปีที่แล้ว

    Compact basic knowledge about tmux in 12 mins. That's so helpful. Thanks.

  • @sandeepkumar-sl1jr
    @sandeepkumar-sl1jr 4 ปีที่แล้ว +1

    Awesome to the point tutorial. Now I understand how to use tmux. Thank you for creating this video :)

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

    Fantastic presentation and straight to the point. Such a great tutorial and I just loved it. Thank you very much.

  • @lightningfurystrike13
    @lightningfurystrike13 ปีที่แล้ว

    Thank you so much. This was extremely helpful. Co-worker just introduced me to tmux and now I'm about to do a lot with it. Thank you so much again

  • @andyfaulkner6653
    @andyfaulkner6653 2 ปีที่แล้ว

    Thanks man! I was struggling with the whole concept and you broke it down perfect.

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

    This was exactly to the point tutorial. More importantly, the explaination was very clear. Thanks 👍

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

    Exactly the crash course I was looking for. Thank you so much for your work.

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

    Today I have decided to finally start learning and using tmux for my work, and this is the video I have chosen to guide my first steps. Thanks!

  • @oliverye55
    @oliverye55 2 ปีที่แล้ว

    super super helpful video! I love that you're so concise with your explanations

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

    3:48 Great tutorial. Had to chuckle at "... create a pane on my bottom..."

  • @ievlevdmitriy
    @ievlevdmitriy 2 ปีที่แล้ว

    Thanks man! That was amazingly easy to understand how to use tmux. This video is the really super convenient way to learn tmux

  • @Theinfographicguy1
    @Theinfographicguy1 3 ปีที่แล้ว

    Very nicely explained man! Everything was on point! Thanks

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

    Really great video. Straight to the point Thanks mate!

  • @NinuRenee
    @NinuRenee 3 ปีที่แล้ว

    Really nice tutorial, quick examples and explanations that save you more than thrice the time reading over useless stuff from the manpage, cheers!

  • @goshmain982
    @goshmain982 ปีที่แล้ว

    Amazing, love this video. Pure Gold.

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

    No fluff, directly to the useful stuff. Excellent video. Thanks! subscribed

  • @joemysterio
    @joemysterio ปีที่แล้ว

    This was the best video I've ever seen and heard. Thank you!

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

    Thanks so much for making this perfect summary. Just the right amount of info!

  • @russianvoodoo
    @russianvoodoo 2 ปีที่แล้ว

    Just what I needed for my bootcamp practice. Thanks a lot.

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

    Thanks for that.
    Btw, anyone who is just interested in the tiling function and having different Terminal "workspaces" can just use the tilix Terminal. It's very easy to use and has all that. However, it's a GTK app and therefore can ony be used in DE's using a gtk framework (though I have seen people make it work on plasma), and of course, doesn't have the overall functionality that make tmux what it is (sessions and stuff).

  • @richtraube2241
    @richtraube2241 ปีที่แล้ว

    Super consise, clear. Very helpful. Thanks.

  • @Phydoux2112
    @Phydoux2112 2 ปีที่แล้ว

    You know it's a great video when it's the first one I've seen by the creator and I subscribe to his channel. Great video. Hope to find more like it!

  • @harrismwika3911
    @harrismwika3911 ปีที่แล้ว

    I absolutely love you videos. Keep it up brother 👍

  • @stevenhe3462
    @stevenhe3462 2 ปีที่แล้ว

    Very clear and intuitive. Good job!

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

    thank you, That was a great tutorial better than all i have seen before.

  • @frankbuss
    @frankbuss 2 ปีที่แล้ว

    Thanks for the tutorial. Note: if you have only one tmux session running, you can just attach to it with "tmux attach". I do this for my remote server, in case the connection gets lost.

  • @boy291-z8c
    @boy291-z8c ปีที่แล้ว

    This is awesome!! Now thats what i call high quality content!

  • @sachinlomte2008
    @sachinlomte2008 3 ปีที่แล้ว

    Thanks for short tutorial. Exactly what I needed.

  • @connormusson9246
    @connormusson9246 2 ปีที่แล้ว

    Perfect little intro tutorial, just what I needed! Thanks :)

  • @crazytechguy5735
    @crazytechguy5735 ปีที่แล้ว

    Understood loud and clear. Thanks for the video.

  • @martinaguiarpiriz1025
    @martinaguiarpiriz1025 3 ปีที่แล้ว

    Short and clear, great!! Thank you.

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

    This is just amazing! Thank you so much. When I switched to Alacritty I realized that I don't have tabs and sessions by default :). With tmux it's very easy to do.

  • @CrazySkillz15
    @CrazySkillz15 2 ปีที่แล้ว

    Thanks for putting this together. Useful stuff!

  • @mubafaw
    @mubafaw 2 ปีที่แล้ว

    Very good video the only video that was well detailed yet easy to follow. Thank you!!

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

    Brilliantly explained. Instant sub.

  • @dougdecoursin9919
    @dougdecoursin9919 ปีที่แล้ว

    Concise and easy to follow - cheers to you!!!

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

    This was just what I was looking for. Thank you! Goodbye, Screen!

  • @KPunkt-wf9xd
    @KPunkt-wf9xd 3 ปีที่แล้ว +1

    Great tutorial!
    Thank you for your work

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

    Very useful tutorial! Thank you!

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

    Excellent tutorial - thank you!

  • @itsnarayankundgir
    @itsnarayankundgir 2 ปีที่แล้ว

    This is what I was looking for. Thank you!

  • @dinindutheekshana2254
    @dinindutheekshana2254 2 ปีที่แล้ว

    I succesfully learned so much things this video thank .Really appreciate

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

    Nice tutorial, simple and usefull, I would like to see something more about resizing panes :)

  • @thomai5287
    @thomai5287 3 ปีที่แล้ว

    Thanks. Very focused and on point.

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

    was reading ham vocke’s blog the other day on a tmux article written in 2015, then this video shows up a day later. :)

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

    great quick tutorial, thanks!

  • @joelsschwarz
    @joelsschwarz ปีที่แล้ว

    awesome video. Thanks for this. Keep it up

  • @ahmadjadelrab
    @ahmadjadelrab ปีที่แล้ว

    Explained very well, Thanks :)

  •  4 ปีที่แล้ว

    Tmux is a must for the robots. Thanks for the useful guide.

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

    Great video! Maybe I missed it in his explanation, but you have to release the Ctrl + B key combination before entering the subsequent tmux command.

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

      Thanks! I was looking for a solution to this for the longest

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

      omg ty

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

      tytytyty! :D

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

    Sweet tutorial:) Always wanted that.

  • @lucianatoledo6026
    @lucianatoledo6026 ปีที่แล้ว

    Thank you man for sharing this stuff

  • @rahulmoorkoth2395
    @rahulmoorkoth2395 2 ปีที่แล้ว

    Nice one. These tools are really handy in day-to-day life.

  • @DavidSoles
    @DavidSoles ปีที่แล้ว

    Thanks for a very nice explanation.

  • @fizzymint
    @fizzymint 2 ปีที่แล้ว

    That was a brilliant video - thankyou so much.

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

    Very useful video!
    Thanks!

  • @ericzedd
    @ericzedd ปีที่แล้ว

    Thank you for this video. I've learned so much in 12min.

  • @lucascampelo4539
    @lucascampelo4539 2 ปีที่แล้ว

    Great tutorial! Thanks a lot!

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

    Thanks! Excellent tutorial, and to the point.

  • @ea9849
    @ea9849 2 ปีที่แล้ว

    Really great introduction. Thank you.

  • @kishandewangan
    @kishandewangan 2 ปีที่แล้ว

    This just made my learning easy !!

  • @ahmedidris305
    @ahmedidris305 3 ปีที่แล้ว

    Very informative tutorial, Thank you Sir so much!

  • @hamza201183
    @hamza201183 2 ปีที่แล้ว

    Excellent. Many thanks!

  • @VinceBaileydns-direct
    @VinceBaileydns-direct 3 ปีที่แล้ว +1

    Awesome best 12 mins ever nice one

  • @lonxwolx
    @lonxwolx 2 ปีที่แล้ว

    very informative, thank you!

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

    Just want I was looking for, thanx

  • @simonzuluaga2081
    @simonzuluaga2081 3 ปีที่แล้ว

    Thanks man, very smooth tutorial

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

    Nice. I discovered screen 30 years ago so it is still my default terminal manager.

  • @waqasnaimkhan7900
    @waqasnaimkhan7900 ปีที่แล้ว

    Very well explained.

  • @Khushpich
    @Khushpich 2 ปีที่แล้ว

    thanks, great tutorial and straight to the point

  • @k-sansenpai7774
    @k-sansenpai7774 4 ปีที่แล้ว +1

    🤩Waited for a long time🤩
    Great explanation...

    • @k-sansenpai7774
      @k-sansenpai7774 4 ปีที่แล้ว

      I can say to teacher that I learned more from an HackerSploit video then whole week practicals...
      😂😂😂

  • @kurshadqaya1684
    @kurshadqaya1684 2 ปีที่แล้ว

    Thank you very much! You persuaded me to start using it.

  • @Najumulsaqib
    @Najumulsaqib 3 ปีที่แล้ว

    Thank you HackerSploit.

  • @davidjiang7929
    @davidjiang7929 3 ปีที่แล้ว

    great tutorial! helped me a ton!

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

    You saved me.... I will be joining your bootcamp cos I like your teaching strategy.

  • @sachindeshpande1
    @sachindeshpande1 ปีที่แล้ว

    Nice!!! I loved it.

  • @meny054
    @meny054 ปีที่แล้ว

    Thank you, it helped me much!

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

    It's work. Thanks you HS

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

    OMG, why didn't I know tmux long ago. Here I've be running multiple SSH sessions to same target just to have multiple shells.. and the whole sessions thing as well, just awesome. Totally reduces the annoyance of disconnects

  • @stevealsherif7085
    @stevealsherif7085 2 ปีที่แล้ว

    The best one,, you make it clear and easy .. thank you

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

    Thanks you sir... very very informative video!

  • @tushartiwari7929
    @tushartiwari7929 ปีที่แล้ว

    On the point 🔥. Thanks

  • @joaocometti
    @joaocometti 2 ปีที่แล้ว

    Thanks for sharing it.

  • @Dima-uz8gi
    @Dima-uz8gi 2 ปีที่แล้ว

    Great tutorial👍Many thanks! 😀

  • @abuhassanwael8633
    @abuhassanwael8633 4 ปีที่แล้ว

    brief and to the point , thx