you need to learn tmux RIGHT NOW!!

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

Комментарии • 1 тыс.

  • @NetworkChuck
    @NetworkChuck  10 месяцев назад +67

    Spin up your next project with Linode: ntck.co/linode -You get a $100 Credit good for 60 days as a new user!
    I just started using Tmux……it’s amazing! If you use a terminal or CLI in any capacity Tmux will 10x your productivity in 10 seconds. From creating multiple panes and windows with ease to leaving your terminal sessions active as you switch between machines Tmux is a must have in your toolbelt. In this video, I’ll show you how to get started with Tmux…which is REALLY easy. Then we’ll jump into how to actually use Tmux, which can be kind of complex at first but becomes easier as you practice. We’ll cover how to install Tmux, use Tmux and how to master all of the hotkeys.
    Video Stuff
    ---------------------------------------------------
    Tmux Cheatsheet (all the commands): tmuxcheatsheet.com/
    🔥🔥Join the NetworkChuck Academy!: ntck.co/NCAcademy
    **Sponsored by Linode Cloud Computing from Akamai

    • @aliega-studios
      @aliega-studios 10 месяцев назад

      ok but why are sponserd by linode like all the time

    • @hyplayer
      @hyplayer 10 месяцев назад +3

      ​@@aliega-studios Why not?

    • @aliega-studios
      @aliega-studios 10 месяцев назад +1

      @@hyplayer like they are like a loot off thigns but it's better to localy to host your things

    • @WA4OSH
      @WA4OSH 10 месяцев назад +1

      Have you tried terminator?

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

      @@aliega-studios His videos are sometimes sponsored by NordVPN and Hostinger. He sells merch, coffee and merch. He also has a Patreon. We get great content with he has a nice side-hustle. Do you have a problem with the freedom of enterprise?

  • @charlescoult
    @charlescoult 10 месяцев назад +109

    What I love about your videos is that you get right to the point and tell me why I want to learn what you're about to show me and then you jump right into using it, showing me how to use it instead of telling me how to use it. Efficiency at its finest.

    • @BillAnt
      @BillAnt 10 месяцев назад +1

      Ping pow pooff... done! lol

    • @zbt_official
      @zbt_official 10 месяцев назад +1

      I think the same as you

    • @zachgould6210
      @zachgould6210 8 месяцев назад

      100% this comment

  • @vwiizz
    @vwiizz 2 месяца назад +5

    You are the one (maybe the only one),
    who never disappoints to be the guy who exactly show us how to do something.
    Like, I mean, literally "how" to do something.
    thank you so much.

  • @freckhard
    @freckhard 10 месяцев назад +19

    Great Video Chuck! I used to work for a company where an employee would try everything for their ssh-session to stay alive, whilst they were dumping a database. They were astonished when I just tmux'd in, started the dump, detached, logged out of ssh and went home lol! Imagine how many working hours have been wasted like this, as it happened approx about an hour every workday. I used "screen" back then, but tmux is the way to go!
    If you want to close your panes/windows/sessions, you can just use control+d (or C-d if you like this notation) which perfoms a simple "exit" (or disconnect / logoff) on the current highlighted pane. This is not a tmux command, this works for any (bash) shell. Happy new year coffee-fellows!

  • @kizomanizo
    @kizomanizo 10 месяцев назад +2

    I've been ignoring Tmux for years, I am still using screen for sessions. I think I may try Tmux now, this video has made it clear that I am using a spoon on steak.

  • @JeremyNjorogeW
    @JeremyNjorogeW 10 месяцев назад +8

    I've used tmux for so long that I can't imagine life without it, it's a great tool.
    Great video!

  • @The_Gamer429
    @The_Gamer429 10 месяцев назад +349

    Hey, I know you probably won't read this, but will you make a new episode of the learn Python series? It's my favorite one and the reason I subscribed actually.

    • @NetworkChuck
      @NetworkChuck  10 месяцев назад +255

      in the works :)

    • @donaldbardi6846
      @donaldbardi6846 10 месяцев назад +23

      ​@@NetworkChucki really want the series to be completed 😢

    • @adamk.7177
      @adamk.7177 10 месяцев назад

      If you're looking for good python videos you can also check out TechWithTim. He actually made many python modules and he has a lot of python content.

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

      @@NetworkChuckplease make python I am kind of like a person who didn’t follow things so I don’t know stuff but know higher stuff / etc so please complete it

    • @stalkeractual
      @stalkeractual 10 месяцев назад +9

      And you said he wouldn’t read this….smh 😂

  • @fredflintstone505
    @fredflintstone505 10 месяцев назад +6

    I used screen for years. It does basically the same as tmux, however, tmux does look cool, easier and more powerful.
    Some basic commands.
    apt install -y screen
    screen -S bob to name a session
    Ctrl+a d to detach
    screen -ls to list sessions
    screen -r bob to reattach
    type exit to kill the current session

    • @kresh1619
      @kresh1619 3 дня назад

      I've been using it too when I run long-lasting jobs in a remote machine.

  • @chunkeydelight
    @chunkeydelight 10 месяцев назад +5

    I learned about the 'screen' command years ago, solely for the purpose of running a script or command while I'm out on the road and needing to not kill it before traveling to a new destination. But then I NEVER realized the command had all of these functions and capabilities until I started to watch this video.
    As soon as I heard you need to 'disconnect from the session' it dawned on me... "This sounds awfully familiar to that 'screen' command"
    I immediately went to the man pages for 'screen' and discovered... This 'tmux' is just utilizing 'screen' and making it WAY easier to navigate and control.
    Thank you for simplifying this for us, because I don't think I would've made this discovery without the quick and easy-to-follow video.

    • @mityikity
      @mityikity 8 месяцев назад +1

      Thanks for remind me 'screen' command, didn't use it for years.

  • @rvbarton
    @rvbarton 10 месяцев назад +19

    I work in configuring passive monitoring telecommunication probes running Linux primarily, and in the last year, my company has incorporated Tmux into the OS. This 15 minute explanation is much better than 2 hour presentation on how to use Tmux. Amazing!

    • @BigTurtleMane
      @BigTurtleMane 10 месяцев назад +2

      “Passive monitoring telecommunication probes” Lawful intercept?

    • @rvbarton
      @rvbarton 10 месяцев назад +1

      monitoring, not intercept. :)@@BigTurtleMane

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

      @@rvbarton hmm 🤔 what’s the difference between this and what they call “lawful intercept” which is just a fancy name for wiretapping?

  • @McDuffington
    @McDuffington 10 месяцев назад +41

    Also great for when you want to send commands to multiple panes, for instance to 20 ssh or serial connections to switches. Use 'set synchronize-panes' to start sending your keys to all panes in the current window

    • @sonalita_
      @sonalita_ 10 месяцев назад +8

      I’m really surprised this wasn’t covered. It’s what got me into tmux when I was learning kubernetes and for educational reasons, built my cluster the hard way from scratch. Using tmux allowed me to have 3 panes each sshed to a node and then I could send all keyboard commands to every pane simultaneously. That for me is the killer feature of tmux.

    • @gerardoriveroll7346
      @gerardoriveroll7346 10 месяцев назад +3

      One of the main superpowers of this tool for sure!

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

      @@gerardoriveroll7346 For me its superpowers are its main purpose; working in sessions and panes and the ability to keep sessions running.
      I work almost exclusively in Tmux and basically use it as an extention to my terminal emulator. For instance working with Tmux panes instead of opening a terminal in Neovim.

    • @williamrgrant
      @williamrgrant 10 месяцев назад +3

      Mind blown

    • @lucielcampbell2737
      @lucielcampbell2737 10 месяцев назад +1

      Not saying it's better or worse but for the record, this can also be done with "cssh" (or "clusterssh") but that's exclusively for that, of course with tmux we can do other things :)

  • @Afran146
    @Afran146 10 месяцев назад +52

    Your videos are really helpful and have taught me a lot in a simplified manner. Learning from you is not only enjoyable but also makes things much better. Thanks a bunch, Chuck! Good Video!

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

      Tmux is so old school. You definitely want to dump it and switch to Zellij.

  • @notandyvee
    @notandyvee 3 месяца назад +1

    You're super entertaining. As a dad, I'm here to support other dads. Subscribed!

  • @scottbell5975
    @scottbell5975 10 месяцев назад +9

    Very timely Chuck! I was just setting up a Terraria server for my friends over the holidays and had to learn Tmux for AWS. I'm sure there's other ways but it worked for me! Thanks!

  • @paulodelgado6281
    @paulodelgado6281 8 месяцев назад

    been using tmux for over 10 years now... its a must in every dev environment I set up.

  • @jwr6796
    @jwr6796 10 месяцев назад +5

    Perfect timing. Ive dpent this holiday (after family goes to bed 😊) trying out some different work setups. Successfully set up arch, decided I probably had more patience for an Ubuntu install, ditched Windows, learned vim, and am on to p3 tiling window manager. tmux is next. 🎉

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

    I've been using tmux for about 6 years and today I can't live without it. It has a bit of a learning curve but it's worth it.

  • @thecandyman9308
    @thecandyman9308 10 месяцев назад +12

    Chuck not only expands my knowledge but also makes me laugh in every video with those little edits. 😄😄You're the dude, Chuck!

    • @WA4OSH
      @WA4OSH 10 месяцев назад +1

      I love his COFFEE breaks and of course the monsters, evil laughs, surveillance eyes, etc.

  • @fision8090
    @fision8090 10 месяцев назад +1

    You explained really well, sometimes people tell me I keep using this "bloated" software and I always tell them It's not bloatware if you take advantage of all the bloat

  • @gwojcieszczuk
    @gwojcieszczuk 10 месяцев назад +70

    Excellent video, Chuck. It would be worth mentioning the utility named "screen" which existed on UNIX and LINUX for many decades. "screen" was the precursor for modern tool like "tmux".

    • @protektwar
      @protektwar 10 месяцев назад +4

      yeah screen is nice, this is on steroids...

    • @bw1532
      @bw1532 10 месяцев назад +5

      ​@@protektwarcan you tell me what is new about tmux that you use? To me this feels like a reinvention of the wheel situation.

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

      @@bw1532 I not using it yet, but from the video I would say that I will use the windows split mode in one session and this is not available on screen...

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

      @@bw1532 I've used -- and still use -- screen for decades too, avoiding adopting tmux because I already know screen and figured what was the point since they are basically the same thing. Well, I decide on day to really attempt to learn tmux and man, what a game changer! I now use tmux as my local "terminal window manager" and use screen within tmux on remote systems to help me remember screen key sequences and I prefer screen's log capturing capability to tmux. Manipulating windows and panels is so much easier in tmux than screen. Plus, customizing is way easier once you get the hang of it.

    • @lmaoroflcopter
      @lmaoroflcopter 10 месяцев назад +7

      ​​​@@protektwarer... yes it is. Its always been there
      ctrl a S
      ctrl a c
      ctrl a |
      ctrl a c

  • @BryanSeigneur0
    @BryanSeigneur0 10 месяцев назад +1

    I knew this type of thing was out there but I've been avoiding boning up enough to use it. Managing term windows isn't overly painful vs tiling, but tiling inside a single window regardless of the state of my WM, **AND** having tiling capability with no WM at all (over remote term) is an overpoweringly awesome solid dub! Thanks for the crash course, Chuck!

  • @VeviserB
    @VeviserB 10 месяцев назад +8

    Might use it for keeping related `docker run` sessions together in a terminal window for local dev, or when ssh-ing into a headless box. For the former, it's an organizational thing, and for the latter, it saves me from instantiating multiple ssh sessions. Thanks!

    • @badmofo420
      @badmofo420 10 месяцев назад +4

      `docker compose` is probobally a better approach.

  • @DoFliesCallUsWalks
    @DoFliesCallUsWalks 10 месяцев назад +1

    I almost dont regard chuck as an educator, his videos are too broad, but he is damn well the best advocate of IT on youtube.

  • @HellHound___0
    @HellHound___0 10 месяцев назад +5

    Your a legend this next year will be two years since learned linux and you helped alot with the way you explain things and simplify it thanks you

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

    Thank you!
    I watched this Video twice and took some notes and now I am pretty confident using tmux in under 1 hour

  • @DeanG621
    @DeanG621 10 месяцев назад +3

    I love it! We’re already using it. I distributed it all over my Linux home systems with ansible together with some other configurations like VIM, ssh config file etc. Using different prefixes for local and remote for nested sessions.

  • @aryajpegasus
    @aryajpegasus 9 месяцев назад +1

    I LOVE YOU FOR THIS. this video is what was the final push for me to try nvim which I couldn't till now because I need other terminals open w/ me. this video is awesome. tmux is awesome. 10/10!

  • @BlizzetaNet
    @BlizzetaNet 10 месяцев назад +7

    I've abused tmux over the years. I've found rebinding to c-a instead of c-b makes it way easier to manage. Also, get your dotfiles in order so you can be familiar across your stations.

    • @sutirk
      @sutirk 10 месяцев назад +2

      I used to use c-a too, but I've found that using C-Space is just as manageable, and it doesn't stray too far off the default key binding, in case you ever need to use vanilla tmux on a random server that you don't have your dotfiles

    • @JosephTyson
      @JosephTyson 10 месяцев назад +2

      I use C-s as my prefix key in my local terminal tmux because I also use screen (& tmux) on remote sessions within my local tmux.

    • @JoeyGarcia
      @JoeyGarcia 10 месяцев назад +1

      It's been awhile since I've used screen, but isn't Ctrl-A the screen command?

    • @BlizzetaNet
      @BlizzetaNet 10 месяцев назад +1

      @JoeyGarcia yes, which is why I use it. Like I said, it's easier to manage. What I left out was it is for me. I'm not the kind of guy that will screen in a tmux session, so both will be familiar to me when I use either.

    • @JoeyGarcia
      @JoeyGarcia 10 месяцев назад +1

      @@BlizzetaNet makes sense! When I first switched from screen to tmux, it took me a while to get adjusted to it. If you keep switching back and forth, then keeping things consistent is helpful.

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

    I find myself needing to watch each of your videos multiple times, often at a reduced speed (50-75%), because you speak quite rapidly. While I appreciate the educational content, the fast pace makes it challenging for me to absorb the material as effectively as I'd like.
    However, I continue to learn from your channel as I have yet to find an alternative that matches the quality of your presentations. You truly stand out as exceptional in this field. Thank you for all the knowledge you have shared. If I ever come across a resource that better suits my learning style, I might switch, but you are my best option.😘

  • @Paasj
    @Paasj 10 месяцев назад +7

    I agree! I think tmux should be learned right now! tmux is awesome!

  • @ak_asphalt
    @ak_asphalt 9 месяцев назад

    I'm surprised this video came out a month ago. Been using it for a couple years and has saved so much time and effort.

  • @MrCarIgor
    @MrCarIgor 10 месяцев назад +4

    next video idea: you need to learn vim RIGHT NOW!!

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

    This is perfect, I'm going through an ethical hacking course and this just made things so much easier! Panes are all I wanted but knowing I can incorporate Vim movements and a copy mode like this is an added bonus! I'm never leaving the terminal now

  • @WA4OSH
    @WA4OSH 10 месяцев назад +4

    Chuck ... Thanks for the TMUX lesson. I will have to memorize some of the CLI for TMUX. I've been using the GUI-based terminator. The detach feature is really good for taking a coffee break.

    • @janpeca776
      @janpeca776 10 месяцев назад +1

      Termionator has a very good feature that you can make groups in multiple windows and then write commands to all terminals at once. Awesome!

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

    I mentor a lot of people and one of the questions I get the most is "how did you do that" when zooming in on one pane temporarily. It would be nice if this video included that, scrolling, and searching. Other than that this is a great intro, and I'll def be sharing with people!
    Something I haven't seen in the comments, for training, attaching to someone else's session on the same machine is great, even if you're both sitting with each other.
    Also I usually recommend pluggins like 'tmux resurrect' to revive your panes after the machine shuts down.

  • @alargeboat
    @alargeboat 10 месяцев назад +68

    nice video Chuck! I think it might be worth mentioning the GNU “screen” command, since screen is another terminal multiplexer that does the same thing, and is included in a bunch of default linux distros. Tmux is definitely better though.

    • @supersymun
      @supersymun 10 месяцев назад +5

      Came here for this comment. Thank you.

    • @randyriegel8553
      @randyriegel8553 10 месяцев назад +7

      Long time Debian user. First thing I thought was "why do you need tmux when screen does the same thing?" LOL

    • @Gearbhall
      @Gearbhall 10 месяцев назад +2

      You beat me to it. I use screen for this.

    • @heh535
      @heh535 10 месяцев назад +3

      Another plus for screen, it’s lightweight and equally powerful

    • @Jniklas2
      @Jniklas2 10 месяцев назад +2

      The big plus for me is with tmux you have the option to join with multiple pcs/users. So you have a friend/colleague that's logged into the same server as the same user and he can just attach to your session. That's not as easily possible with screen

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

    Never disappoints, as an 18 yr old studying Computer Science and tryna get into Cyber security, I am learning a lot from u man, keep up the good work❤

  • @ftolead
    @ftolead 10 месяцев назад +7

    I sense a tmux vs. screen fight. Similar to the old vi vs. emacs wars of the 90's. For me, it's vi (vim) and screen.

    • @fleetadmiralrayden
      @fleetadmiralrayden 10 месяцев назад +2

      came here for this.

    • @lylestavast7652
      @lylestavast7652 10 месяцев назад +1

      vi. but I was fighting that in the 80's already ;)

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

      Hehe. Fight!

    • @boink800
      @boink800 10 месяцев назад +1

      I prefer a Linux OS fight. Fight! Fight! Fight!

    • @goofballbiscuits3647
      @goofballbiscuits3647 10 месяцев назад +2

      ​@@boink800 K, I'll start:
      I use Garuda dra9onized because it's the prettiest prepackaged Arch rice.

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

    I've been using Tmux for more than half a year now for development work, and it's been great for efficiency.

  • @cybermarathiofficial
    @cybermarathiofficial 10 месяцев назад +7

    Sir Please make roadmap of cyber security in 2024
    Always your stuff 🎉 Hits
    Love from India 🚩🇮🇳

    • @jason2679
      @jason2679 10 месяцев назад +1

      Stop watch cron 🙈🙈

  • @JamesTuson-m8h
    @JamesTuson-m8h 29 дней назад

    Thanks for the video. Shortcut for people in a hurry like I was:
    CTRL+B to enter command mode
    % to split vertically
    " to split horizontally

  • @kasztandor
    @kasztandor 10 месяцев назад +3

    looks like screen with extra steps and tiling option

  • @trobleton
    @trobleton 10 месяцев назад +1

    I recently picked up Neovim and have been thinking about picking up tmux to maximize my workflow and this was the push I needed. Thanks!

    • @jesse9999999
      @jesse9999999 10 месяцев назад +1

      combine with bash scripts for launching certain tmux session setups for certain projects and it's so nice. i just do "p work-react" in my terminal and it opens a tmux session with two windows, one of which is split into 3 panes with various things and the other is a window for neovim text editing. you can get so fast.

  • @bwanarobert
    @bwanarobert 10 месяцев назад +4

    Dude, love your presentation style. To the point and engaging. Great vid! Also, love the shout-outs.

  • @AndreCarneiro666
    @AndreCarneiro666 10 месяцев назад +1

    I'm using tmux since 2007. Simply fantastic! I totally recommend it!

    • @oblivikun
      @oblivikun 8 месяцев назад

      im more of a gnu screen guy

  • @moetop
    @moetop 10 месяцев назад +7

    So it took them 36 years to make a fancy version of screen.

    • @knoxduder
      @knoxduder 6 месяцев назад +1

      😂😂😂😂😂😂 This wins at nerd RUclips for the fiscal year! 😂😂😂😂

  • @gosnooky
    @gosnooky 10 месяцев назад +1

    For me, the biggest advantage of tmux is use on remote machines where I need to perform a long running task that cannot be interrupted. I live in a country with an unreliable electric grid, so internet goes out in my building during a blackout. Using tmux ensures that the session is saved, the task still continues if I'm knocked offline and it saves the stdout/stderr buffers so I can see what, if anything went wrong. Of course, the power never, ever goes out when I use it, but nice to know it's there as a safety net.

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

      ever tried to use tmux for persistent "background" tasks? works perfect for the stuff that has no daemon mode! most of the session/window/pane setup can be scripted, some places I use it as a IDE!

  • @snipeSec351
    @snipeSec351 10 месяцев назад +3

    You can list everything you've copied with C-b =. Thank me later.
    Great video.

  • @TristanJVShow
    @TristanJVShow 10 месяцев назад +1

    I love using TMUX.
    I have 3 main windows on my mine. One for btop, to keep an eye on my hardware usage.
    One for docker, to see what is currently running, stats and run docker command.
    And the last one for my Syncthing/rclone logs.
    You need to talk about plugins. I used resurrect to save and restore my session if I need to reboot.
    I liked a lot you videos! Keep going! Love from France!

  • @without-user-name
    @without-user-name 10 месяцев назад +6

    Tmux is the best friend of any IT guy.

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

    one of the cool features I love in tmux is that I can show my coworker what I'm working/typing on that server. We ssh into the same server and open the same tmux session and he can see what I'm typing in real time.

  • @kyberghost3607
    @kyberghost3607 8 месяцев назад

    Your teaching style is brilliant! So much valuable information not only explained but also reinforced through practice in a quick and simple 18 minute video! Thanks so much, I just subbed

  • @Snowy07
    @Snowy07 10 месяцев назад +3

    ⚡ The video introduces the use of t-mo, a terminal multiplexer, which allows for efficient management of terminal sessions.
    00:00
    ☕ The video demonstrates how to detach and reattach from a session using a simple command, with the example of tracking coffee consumption.
    02:40
    🔗 The video demonstrates how to use the t-mo command to attach and detach from different sessions in a practice environment.
    05:04
    🔑 The video explains the use of control B as a prefix key for performing various actions in the Tmux terminal multiplexer.
    07:58
    ⬆ The video demonstrates how to manipulate active paint and create multiple windows in a design application.
    10:29
    💻 The video demonstrates how to manage multiple windows and sessions in Linux using the control b w and control b x commands.
    13:06
    ⌨ The video demonstrates Vim superpowers for efficient terminal usage, emphasizing keyboard shortcuts over mouse usage.
    15:46

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

    I've been using screen because tmux always looked too complicated, but this really simplified it for me. I think I'll use tmux going forward. Thanks!

  • @bluegizmo1983
    @bluegizmo1983 10 месяцев назад +67

    Poor Chuck... Every time he wants to film a video, he has to spend the time to put on that ridiculous fake beard before filming 😂

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

      😂😂😂

    • @Ramasani-ur6dr
      @Ramasani-ur6dr 7 месяцев назад +3

      THAT'S FAKE??!!

    • @JustLinuxMan
      @JustLinuxMan 6 месяцев назад +4

      ​@@Ramasani-ur6drYeah, I thought it was real for a bit, then I noticed it just a bit off every video, Linux user thing I guess lol

    • @zerotrustSZN
      @zerotrustSZN 5 месяцев назад +1

      in the words of that random wrestling fan from that one viral video, "it's real to me, dammit!!"

    • @user-mu9tq3ml1f
      @user-mu9tq3ml1f 5 месяцев назад +3

      Why tf would he out a fake beard?

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

    You've sold me in first 28 seconds, not even lying. It's the issue I have as someone who has some work interruptions and have to proceed to work from laptop on some server provisions or similar. What NONE of these videos so far have mentioned, as I've seen, being able the have THE SAME session from *multiple* devices - that's a seller feature.

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

      nevermind, it doesn't do that in it's base setup. What's the point of it then!?

  • @funnynumber69420
    @funnynumber69420 10 месяцев назад +8

    Tea > coffee

  • @ParkinT
    @ParkinT 10 месяцев назад +1

    I am proud to be a super user of VIM but have always procrastinated diving into TMUX. Thanks for this AMAZING introduction. I am hooked.

  • @misterkite
    @misterkite 3 месяца назад +1

    I've been using tmux for a while.. but no one seems to use it the way I do. One, I have my terminal set up to automatically create a new session targeting "main" (tmux new -t main). What this does is allow you to have multiple terminals open, all viewing the same tmux session, but allowing each terminal to focus on a different tmux window. This gives me the same control you have over your split panes.. but now I can move a pane onto a different virtual desktop.. or different monitor. I never need to split a tmux window because I have half a dozen real terminal windows open and can move them around how I want them. Finally, the fastest way to change which window is in focus is "ctl-b #" where # is the number of the window

    • @rolandcucicea6006
      @rolandcucicea6006 3 месяца назад

      I just got into it after seeing the primagen's setup and the one screen at a time mentality with super fast switching between sessions.
      It blew my mind. I often work in the same folders and span nvim but with tmux I can just leave it open in the background and be right in, plus I'm editing different files at a time, even tho telescope is great in nvim, tmux is much faster and not losing the progress is priceless.
      You can always be exactly where you left off in previous sessions

  • @chaosa928
    @chaosa928 8 месяцев назад

    Funny how I have used windows all my life and grew up in a world of convenience, only to find love in terminals where the gui's are limited. Not sure what it is, but I think that it's just because of the sheer power I have from a terminal in linux is just awesome to have.

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

    really fun to watch. high quality audio. i don't know crap about linux but i watched this whole video beginning to end (thanks youtube algorithm) and loved it. also well done from an educational perspective. i'm sure this guy's 3.62M subscribers are like, 'yeah, that's just what he does.'

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

    I used "screen" for a very very long time, but tmux is - next level. To be able to split windows "HotDog style" AND "Hamburger style" is awesome ! Thank you for the video.

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

    One of my work friends pushed me to use tmux, so I'm grateful for the quick tutorial. I run openSUSE Leap in WSL with systemd, so I had to troubleshoot a missing directory after killing Windows Terminal. Turns out the tmpfs needed for tmux gets nuked every time, had to run a command to fix it.

  • @bergatrolle
    @bergatrolle 3 месяца назад

    You know when someone have made a "brand" for them self, was looking for this video but due to the lack of coffee for several days I couldn't for my life remember your name, sorry!
    SO I put in "cooffee tmux" as search term and your channel and this video was the first hit i got. :) GG Chuck well done.

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

    8:28 That's the wise man's... wisdom right there! «Any of the hot keys mentioned in this video can be changed, I like sticking to defaults, so no matter what system I have, if I install Tmux, I don't have to redo anything» 😌

  • @eclipse-224
    @eclipse-224 2 месяца назад

    I've been hearing about tmux a lot, and because of your video, i started using it, thanks!

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

    Never seen a single soul fully dived into vim an regretted it.
    Some people do go back on it, but throught their time using it usually said to have been a great and productive experience.
    A vim video would be gold man, keep up the good work

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

    tmux has been part of my local and remote dev environment for about 7 years already. I use it ALL the time. I even deploy it and my tmux config on every machine I use with Ansible.

  • @TheWeredude
    @TheWeredude 10 месяцев назад +1

    This is perfect timing! About to start a Certified Ethical Hacker class next semester and I am sure this will be useful.

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

    I really want to make a shirt that says Always Be Tmux'n. Love tmux. Two things outside of what you showed that I love: Turn a pane into a clock with ctrl+b, t and secondly, zoom into a pane with ctrl+b, z. I use both of those quite a bit and love them.

  • @RenaudAlly
    @RenaudAlly 10 месяцев назад +1

    You are the man Chuck! This is the video I needed right now. I was literally thinking of setting up tmux for improving my workflow despite using a tiling window manager literally yesterday.

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

    Currently working on HTB stuff (I am really green) and the instructions that I found were not making the most sense to me. But hearing it out loud instead of reading it made it much easier to understand. This helped me a ton and I am looking forward to using it more.

  • @Chris-wt1eq
    @Chris-wt1eq 10 месяцев назад +2

    Never used tmux but used the screen command alot for attaching and detaching, good for letting long running tasks run when I need to log off

  • @AsherMetro
    @AsherMetro 3 месяца назад

    ok. tmux is actually awesome because ive been learning sql (also because of you) and im trying to make the database interact with c++ and having many panels open is much easier than four tabs. im even using wsl which is pretty un. youve taught me so much and i hope that you keep teaching more!!

  • @sporock
    @sporock 10 месяцев назад +2

    Great video. Infotainment at its finest. I used the heck out of tmux in the past for some projects but not in a while. Excellent refresher, thanks.

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

    I am using tmux on my linuy systems for many years and i love it! Thanks for making this video about this powerful tool!

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

    I have absolutely no idea what you are talking about, but I love your videos.

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

    After months of hearing about it, I finally broke my tmux cherry last night and I love it. This video is perfectly timed.

  • @FLEGA
    @FLEGA 9 месяцев назад

    That sure was an eye opener, will definitely learn Tmux. I love the idea of being proficient with it. Thank you for a fantastic tutorial, subscribed!

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

    Crazy, thank you for introducing the all the commands. Easy to understand and I'll be installing tmux right now

  • @MAX-nv6yj
    @MAX-nv6yj 10 месяцев назад

    I just start using Tmux couple months ago but this video will really help me out to be better at it

  • @_RomanV_
    @_RomanV_ 9 месяцев назад

    TMUX became my main terminal window management. Very nice tool

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

    I can't believe you only made this video now. This is the most important thing that I use

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

      Also you really need to learn neovim, it is awesome. My programming speed doubled after switching to it.

  • @z1ldj1anDrumm3r
    @z1ldj1anDrumm3r 10 месяцев назад +1

    @NetworkChuck thank you for this tmux tutorial and all of your videos. Been watching and learning from you for over a year. I have been using tmux for less than a year, but have used it on a weekly basis to manage my Unraid server & Synology NAS to move & cleanup filles, edit configs, etc. I love the ability to leave a tmux session, or multiple tmux sessions running in the background and then return to them at a later date/time and continue where I left off at. Thank you!!!

  • @cakerer
    @cakerer 15 дней назад

    Nice, well paced tutorial. Thanks. It's about time I learnt to use tmux.

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

    I actually run a minecraft server on Oricle Cloud Services and I use tmux almost daily when connecting to my server, without it once I close console my server would go offline. Oddly enough I get reccomended this video & I did learn some things that I didn't know previously. Great video as always!

  • @mouinmakary
    @mouinmakary 2 дня назад

    a really very helpful, simple, eazy to understand and amazing video, as always.

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

    Also with tmux, I use tmuxinator to launch my projects with an initial setup of windows and panes. This started a couple of years ago when I needed to start several services and a slow VM. Manually doing it would usually take on average 2-3 minutes and I cut that to 4-5 seconds. 5 times a week for a year, this shaves hours.
    I made "mux" the shortcut for tmuxinator so I can type "mux s my_project" to start everything

  • @edcochran714
    @edcochran714 9 месяцев назад

    I like your videos, very informative and helpful. Thank you for creating them. As an IT person previous senior MSP tech, currently systems architect and administrator. I have given the advice to beginners, buy a computer with more then 8 cores and 16 GB of ram and run either VMware Desktop or HyperV. As far as this T software goes I find N-Able more effective and when it comes to Linux my goto for beginners is always Linux Mint Cinnamon. I hope this reaches you well.

  • @paullee107
    @paullee107 10 месяцев назад +2

    Just like switching from nano to vim, I need to switch from screen to tmux - thanks for the quick and easy rundown!

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

      Some systems don't have nano and only vi or vim, which has been around since the days of DEC VT100's and DEC VAX 11/780 running Unix 3BSD. Even TMUX has been around since 2007. Some system administrators are slow to adopt very useful tools for fear of instability or network security issues.

    • @rotflol6666
      @rotflol6666 10 месяцев назад +1

      @@WA4OSH also depends on the flavor of *nix, tmux isnt ported or installed by default on every one, screen probably there, I use byobu as a wrapper, just pick your favorite backend

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

      @@rotflol6666 Indeed. I had to install TMUX on my computer running Ubuntu v22.04 LTS. I will have to try byobu. Thanks!

  • @Redyf
    @Redyf 10 месяцев назад +1

    I started using it 2 weeks ago, it's pretty cool. At first I thought it wasn't necessary since I'm on a tiling window manager, but it's actually great.

    • @theawesomeyopro
      @theawesomeyopro 10 месяцев назад +1

      hyprland?

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

      yes hahaha@@theawesomeyopro

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

      Yeah I’m using also a tiling window manager, but what are you points to choose to have one window of terminal with many session in that same window (using tmux) or multiple window with one terminal session in each of these window?

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

    Haven't finished watching them videos but yes, yes, yes. It's my favorite terminal app. It's so useful!

  • @complete-mayhem-x64
    @complete-mayhem-x64 10 месяцев назад

    I use tmux daily and have for well over a year. It's super awesome.

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

    This is really helpful. I have been using screen for long time. I am able to quickly understand and compare the problems tmux solve in my usecases already. Thanks for putting it in a very comprehensible manner. Really appreciate it.

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

    The other day I was thinking to myself at work, wow I really hate manually opening up my terminal every time I boot up and manually starting 3 different panes/servers. Was looking into just making a shell script to kick them off but this is even better because I can just resume sessions

  • @MrRubinsh
    @MrRubinsh 10 месяцев назад +1

    Nice video. You forgot about another killer feature of tmux - collaboration. 2 different users can attach to the same tmux session and work together. Really handy for remote pair programming/admin tasks on the server

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

    Been using tmux for like over a decade. Gonna show this video to all my coworkers lol

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

    Already been using it for a while. Another good thing with TMUX is if you get disconnected from SSH for whatever reason, the terminal gets automatically detached and keeps going in the background. That saved many days to me, notably going from dock/ethernet to wifi.
    I was actively developing LinuxGSM when its creator Daniel Gibbs implemented it as a replacement for Screen (which does the same but worse) almost 10 years ago; this currently still allows for running Linux game servers in background. I've been using it since, in order to keep long tasks running in background.
    I was not using multi window (I'd rather open more terminals if needed), and rarely using multiple tmux sessions. But now knowing how to manage it efficiently I might give it a go, for example keeping a "top" and an "nload" with an ongoing rsync, during migrations, which allows to have an overview of the file sync in one single terminal; quite convenient. Thanks for the video, once again.

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

    Thanks for your videos Chuck, i learn a lot specially linux, docker, proxmox. Regards from Buenos Aires Argentina soccer world champions

  • @KiwiKawaiy
    @KiwiKawaiy 8 месяцев назад

    Loved using Tmux in the past. Still learnd something and will use stuff like the window and pane overview stuff (ctrl+b w) loved it