you need to learn tmux RIGHT NOW!!

  Рет қаралды 543,004

NetworkChuck

NetworkChuck

Күн бұрын

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...
🔥🔥Join the NetworkChuck Academy!: ntck.co/NCAcademy
**Sponsored by Linode Cloud Computing from Akamai
SUPPORT NETWORKCHUCK
---------------------------------------------------
➡️NetworkChuck membership: ntck.co/Premium
☕☕ COFFEE and MERCH: ntck.co/coffee
Check out my new channel: ntck.co/ncclips
🆘🆘NEED HELP?? Join the Discord Server: / discord
STUDY WITH ME on Twitch: bit.ly/nc_twitch
READY TO LEARN??
---------------------------------------------------
-Learn Python: bit.ly/3rzZjzz
-Get your CCNA: bit.ly/nc-ccna
FOLLOW ME EVERYWHERE
---------------------------------------------------
Instagram: / networkchuck
Twitter: / networkchuck
Facebook: / networkchuck
Join the Discord server: bit.ly/nc-discord
AFFILIATES & REFERRALS
---------------------------------------------------
(GEAR I USE...STUFF I RECOMMEND)
My network gear: geni.us/L6wyIUj
Amazon Affiliate Store: www.amazon.com...
Buy a Raspberry Pi: geni.us/aBeqAL
Do you want to know how I draw on the screen?? Go to ntck.co/EpicPen and use code NetworkChuck to get 20% off!!
fast and reliable unifi in the cloud: hostifi.com/?v...
TMUX tutorial for beginners
Advanced TMUX guide
Terminal multiplexing made easy
Master TMUX commands
Efficient Linux terminal management
TMUX session handling
Window and pane management in TMUX
TMUX for developers
Streamline your coding with TMUX
TMUX shortcuts and tricks
Enhance your Linux experience with TMUX
Comprehensive TMUX walkthrough
TMUX configuration tips
TMUX copy mode tutorial
Command-line productivity with TMUX
Linux terminal multiplexer guide
TMUX installation and setup
TMUX for system administrators
Customizing your TMUX environment
TMUX pane splitting techniques
Optimize your workflow with TMUX
TMUX hotkeys and shortcuts
Remote session management with TMUX
Beginner to pro in TMUX
TMUX and Linux terminal hacks
Maximizing efficiency with TMUX
TMUX session customization
Keyboard navigation in TMUX
TMUX for efficient terminal use
Unlocking the power of TMUX.
#tmux #linux

Пікірлер: 1 000
@NetworkChuck
@NetworkChuck 9 ай бұрын
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 9 ай бұрын
ok but why are sponserd by linode like all the time
@hyplayer
@hyplayer 9 ай бұрын
​@@aliega-studios Why not?
@aliega-studios
@aliega-studios 9 ай бұрын
@@hyplayer like they are like a loot off thigns but it's better to localy to host your things
@WA4OSH
@WA4OSH 9 ай бұрын
Have you tried terminator?
@WA4OSH
@WA4OSH 9 ай бұрын
@@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?
@The_Gamer429
@The_Gamer429 9 ай бұрын
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 9 ай бұрын
in the works :)
@donaldbardi6846
@donaldbardi6846 9 ай бұрын
​@@NetworkChucki really want the series to be completed 😢
@adamk.7177
@adamk.7177 9 ай бұрын
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 9 ай бұрын
@@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 9 ай бұрын
And you said he wouldn’t read this….smh 😂
@gwojcieszczuk
@gwojcieszczuk 9 ай бұрын
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 9 ай бұрын
yeah screen is nice, this is on steroids...
@bw1532
@bw1532 9 ай бұрын
​@@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 9 ай бұрын
@@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 9 ай бұрын
@@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 9 ай бұрын
​​​@@protektwarer... yes it is. Its always been there ctrl a S ctrl a c ctrl a | ctrl a c
@trobleton
@trobleton 9 ай бұрын
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 9 ай бұрын
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.
@joaomarcelofurtadoromero8277
@joaomarcelofurtadoromero8277 9 ай бұрын
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
@alargeboat
@alargeboat 9 ай бұрын
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 9 ай бұрын
Came here for this comment. Thank you.
@randyriegel8553
@randyriegel8553 9 ай бұрын
Long time Debian user. First thing I thought was "why do you need tmux when screen does the same thing?" LOL
@Gearbhall
@Gearbhall 9 ай бұрын
You beat me to it. I use screen for this.
@heh535
@heh535 9 ай бұрын
Another plus for screen, it’s lightweight and equally powerful
@Jniklas2
@Jniklas2 9 ай бұрын
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
@nsontung
@nsontung 9 ай бұрын
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.
@s0litaire2k
@s0litaire2k 9 ай бұрын
been using tmux when testing things that require daemons running open. each daemon gets it's own pane and i can keep an eye on the outputs or detach and ignore :D
@Redyf
@Redyf 9 ай бұрын
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 9 ай бұрын
hyprland?
@Redyf
@Redyf 9 ай бұрын
yes hahaha@@theawesomeyopro
@darkjo4335
@darkjo4335 9 ай бұрын
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?
@otroblogdemarcelo
@otroblogdemarcelo 9 ай бұрын
Absolute neet for Oh My Tmux cosmetics here! Cheers from Argentina and have a nice 2024!!!
@lenovotablet8489
@lenovotablet8489 8 ай бұрын
All that convenience comes at a compromised security. If your ssh sessions don't end and keep running then like how you are able to attach to it, a threat actor can do it too. Some people might like sessions to end when they are not working for security reasons.
@praveenj7422
@praveenj7422 Ай бұрын
Tmux is the best alternate to the screen command line utility
@bluegizmo1983
@bluegizmo1983 9 ай бұрын
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 5 ай бұрын
😂😂😂
@Ramasani-ur6dr
@Ramasani-ur6dr 5 ай бұрын
THAT'S FAKE??!!
@JustLinuxMan
@JustLinuxMan 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
@MikeC08
@MikeC08 3 ай бұрын
in the words of that random wrestling fan from that one viral video, "it's real to me, dammit!!"
@user-mu9tq3ml1f
@user-mu9tq3ml1f 3 ай бұрын
Why tf would he out a fake beard?
@Fanta666
@Fanta666 9 ай бұрын
Also please make a vim video!! I have been living in neovim lately, it's actually what finally got me to install Linux because some plugins dont work right on windows
@SPCPerez19Delta
@SPCPerez19Delta 2 ай бұрын
I use screen to keep sessions active in the terminal
@Backs1ashpro
@Backs1ashpro 9 ай бұрын
Going in to indulge myself, can't figure out what the pitch is and who it's for?
@mysticallife7177
@mysticallife7177 8 ай бұрын
What if we ssh out from the current tmux sessions. Will it continue to run?? Just a questions
@quickcinemarecap
@quickcinemarecap 9 ай бұрын
00:02 Tmux is a powerful terminal multiplexer for improving workflow and efficiency. 01:59 Learn how to use TMUX for terminal virtualization. 04:01 Team UX has three layers and allows for detachment and reattachment to sessions. 05:58 Learn to manage sessions, windows, and panes in tmux. 08:16 Control B acts as the prefix key for Tmux commands. 10:15 Learn how to resize and pre-select layouts for panes and manage multiple windows efficiently. 12:23 Learn to navigate and manage windows and sessions efficiently with TMUX 14:28 Learn about TMUX session, windows, panels, and copy mode 16:33 Use tmux copy mode for efficient text copying
@creeper6530
@creeper6530 8 ай бұрын
You, sir, are a saviour
@charlescoult
@charlescoult 9 ай бұрын
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 9 ай бұрын
Ping pow pooff... done! lol
@zbt_official
@zbt_official 9 ай бұрын
I think the same as you
@zachgould6210
@zachgould6210 6 ай бұрын
100% this comment
@Afran146
@Afran146 9 ай бұрын
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 8 ай бұрын
Tmux is so old school. You definitely want to dump it and switch to Zellij.
@MrCarIgor
@MrCarIgor 9 ай бұрын
next video idea: you need to learn vim RIGHT NOW!!
@McDuffington
@McDuffington 9 ай бұрын
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_ 9 ай бұрын
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 9 ай бұрын
One of the main superpowers of this tool for sure!
@McDuffington
@McDuffington 9 ай бұрын
@@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 8 ай бұрын
Mind blown
@lucielcampbell2737
@lucielcampbell2737 8 ай бұрын
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 :)
@moetop
@moetop 9 ай бұрын
So it took them 36 years to make a fancy version of screen.
@knoxduder
@knoxduder 5 ай бұрын
😂😂😂😂😂😂 This wins at nerd KZbin for the fiscal year! 😂😂😂😂
@freckhard
@freckhard 9 ай бұрын
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!
@funnynumber69420
@funnynumber69420 9 ай бұрын
Tea > coffee
@vwiizz
@vwiizz 27 күн бұрын
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.
@ftolead
@ftolead 9 ай бұрын
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 9 ай бұрын
came here for this.
@lylestavast7652
@lylestavast7652 9 ай бұрын
vi. but I was fighting that in the 80's already ;)
@skinlab4239
@skinlab4239 9 ай бұрын
Hehe. Fight!
@boink800
@boink800 9 ай бұрын
I prefer a Linux OS fight. Fight! Fight! Fight!
@goofballbiscuits3647
@goofballbiscuits3647 9 ай бұрын
​@@boink800 K, I'll start: I use Garuda dra9onized because it's the prettiest prepackaged Arch rice.
@thecandyman9308
@thecandyman9308 9 ай бұрын
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 9 ай бұрын
I love his COFFEE breaks and of course the monsters, evil laughs, surveillance eyes, etc.
@KrakonosovoBabka
@KrakonosovoBabka 9 ай бұрын
I don't feel like there is not that much to learn. Tmux is one of these tools you just find how whey work and you are able to use them in 10 minutes.
@rvbarton
@rvbarton 9 ай бұрын
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 9 ай бұрын
“Passive monitoring telecommunication probes” Lawful intercept?
@rvbarton
@rvbarton 8 ай бұрын
monitoring, not intercept. :)@@BigTurtleMane
@BigTurtleMane
@BigTurtleMane 8 ай бұрын
@@rvbarton hmm 🤔 what’s the difference between this and what they call “lawful intercept” which is just a fancy name for wiretapping?
@NewsBytesOnYouTube
@NewsBytesOnYouTube 9 ай бұрын
Nice tutorial. Nano is rubbish compared to vim. As a seasoned professional (40+ years as a software engineer/devops/architect), I would doubt your expertise if you chose nano over vim. In fact, my feelings on this are so strong, that if I found out during the interview that you prefer nano over vim, I probably wouldn't hire you; at least, the barrier to entry would have been raised so you'd have to really pull a rabbit out of your ass to impress me after a mistake like that. TBH, I do watch some of your content (this tmux one was great until you pulled up nano), but I haven't subscribed for two reasons, one of which is that you use nano. The other is that you promote the use of vmware, but that's for a different rant ;)
@JeremyNjorogeW
@JeremyNjorogeW 9 ай бұрын
I've used tmux for so long that I can't imagine life without it, it's a great tool. Great video!
@timusius
@timusius 7 ай бұрын
At 16:23 while explaining how easy it is to just highlight and paste... you are actually not pasting the thing you highligted ;-)
@kasztandor
@kasztandor 9 ай бұрын
looks like screen with extra steps and tiling option
@fredflintstone505
@fredflintstone505 9 ай бұрын
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
@ericbwertz
@ericbwertz 9 ай бұрын
Presentation style is very challenging to sit through. I feel like I'm being sold something that no one needs, which is unfortunate because the subject matter is quite good.
@scottbell5975
@scottbell5975 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!
@RafaelSantos-jv6iz
@RafaelSantos-jv6iz 7 ай бұрын
"HOW BIG YOUT ACTIVE PANE IS" made me laugh more than a mature person should.
@snipeSec351
@snipeSec351 9 ай бұрын
You can list everything you've copied with C-b =. Thank me later. Great video.
@mattplaygamez
@mattplaygamez 9 ай бұрын
Hey Chuck, Just interested how much is your monthly bill for Linode?
@codemarathiofficial
@codemarathiofficial 9 ай бұрын
Sir Please make roadmap of cyber security in 2024 Always your stuff 🎉 Hits Love from India 🚩🇮🇳
@jason2679
@jason2679 9 ай бұрын
Stop watch cron 🙈🙈
@sammay1540
@sammay1540 9 ай бұрын
Your life can be complete without, but watch the matrix and learn the difference between the red pill and blue pill.
@VeviserB
@VeviserB 9 ай бұрын
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 9 ай бұрын
`docker compose` is probobally a better approach.
@chunkeydelight
@chunkeydelight 8 ай бұрын
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.
@powerOfSleeping
@powerOfSleeping 6 ай бұрын
Thanks for remind me 'screen' command, didn't use it for years.
@zyx321123xyz
@zyx321123xyz 3 ай бұрын
Ohh Common! Absolutly useless video! Man, do you really think it's wise to open several tabs in one terminal, when you're able to open as much terminals in GUI as you want??? Tmux is usefull when you Literally have only ONE terminal that does not run over any gui session. I'm dissappointed... please don't make videos just for making videos!
@jwr6796
@jwr6796 9 ай бұрын
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. 🎉
@starblaiz1986
@starblaiz1986 9 ай бұрын
Left Pane: Console output for my Minecraft server Top Right Pane: htop to monitor resources Bottom Right Pane: Nyx to monitor my Tor relay My Friends: "Omg are you hacking the Pentagon?!?!" Me *sips her coffee an smiles knowingly* 😅
@Paasj
@Paasj 9 ай бұрын
I agree! I think tmux should be learned right now! tmux is awesome!
@robonator2945
@robonator2945 8 ай бұрын
Even if you never want to learn tmux, just knowing about it can really save your ass. I setup my main computer at home for SSH remote access along with installing a dedicated remote desktop client. Since I don't want to expose my main home computer directly to the internet, I used a VPN to share a network with it. (VPN as in Tailscale, Hamachi, Zerotier, etc. not as in Nord) Unfortunately, that service broke on me. Well, crap, but no big deal right, I installed that remote desktop client? Well, I typically run wayland and, while I do have x11 setup, I don't really give it much care, so for some reason the remote desktop software also wouldn't connect properly. So, what? I'm just locked out? Well yes but actually no. See, while my remote desktop software was dodgy and couldn't get a real remote desktop connection, it *_could_* get *_A_* connection, just not a reliable one. It also had a nice simple GUI option for creating TCP tunnels, so I sorta just tunneled some random port from my local host to my home computer's port 22 and sshed into myself. Yeah, it's janky as hell, but sure enough, if I TCP tunneled port 22 from my home computer onto my local computer I could get a fully functional ssh connection. Unfortunately, it was still dodgy and the connection would break occasionally. But, I knew tmux sessions were persistent, so even though I don't really use tmux much I installed it and started a tmux session. Then, within that tmux session, I used a commandline tool for transfering files using the magic-wormhole protocol and generated a send code, which I could then recieve on my local machine. Since tmux is persistent that file transfer worked even when the TCP tunnel closed and I lost my SSH connection. In other words, just use linode as a proxy or something my god it is not worth the effort to try to use tons of interconnected services to just access your home resources. edit : also, for that vim video, I'd suggest looking at something like Lazyvim. Building your config from scratch has it's perks, but I went from not knowing any vim at all to being productive *_enough_* with it in the course of just a few hours with lazyvim. (and a few tutorials, obviously)
@BlizzetaNet
@BlizzetaNet 9 ай бұрын
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 9 ай бұрын
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 9 ай бұрын
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 9 ай бұрын
It's been awhile since I've used screen, but isn't Ctrl-A the screen command?
@BlizzetaNet
@BlizzetaNet 9 ай бұрын
@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 9 ай бұрын
@@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.
@BryanSeigneur0
@BryanSeigneur0 8 ай бұрын
I'm trying to grasp what's going on here and the fact that your powershell looks like bash (WSL I presume?) is not helping 🤣
@WA4OSH
@WA4OSH 9 ай бұрын
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 9 ай бұрын
Termionator has a very good feature that you can make groups in multiple windows and then write commands to all terminals at once. Awesome!
@psyionx
@psyionx 8 ай бұрын
Help comment on this, is it true that Googles android preventing android device retrieving macaddress from network scan. I got shock after opening fing app. If it's true, this effects some of us network engineers using Android phone to scan networks, loosing a tool, is like loosing an arm. hope your channel have more voice and can make an impact sort of thing. Fing is currently doing a petition on the matter... And I think it need more push
@DLLDevStudio
@DLLDevStudio 9 ай бұрын
detaching and reattaching + multiple terminal commands splitted across the window. sounds like screen on steroids for this (use)case :-) i will def. start using it!
@DeanG621
@DeanG621 9 ай бұрын
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.
@Toastman43
@Toastman43 9 ай бұрын
I love “ethically” hacking the government with advice from your videos 😁
@without-user-name
@without-user-name 9 ай бұрын
Tmux is the best friend of any IT guy.
@MrRubinsh
@MrRubinsh 8 ай бұрын
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
@HellHound___0
@HellHound___0 9 ай бұрын
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
@johnny55tt81
@johnny55tt81 8 ай бұрын
Bro please please please please I just wanted to say that can you please make a vedio of crypto mining on a old dual core pc another version of can a raspberry pi mine cruypto this is gona help me alot .... i know you would think that why am i not searching it on google or KZbin that is because i like the way you explain things .. and this is not only gona help me there are other people ...please man ,
@bwanarobert
@bwanarobert 9 ай бұрын
Dude, love your presentation style. To the point and engaging. Great vid! Also, love the shout-outs.
@a1aa
@a1aa 9 ай бұрын
video on how to use vim, you have three and a half m sub and no vid about vim, we want a series not just a video i good vim user already but i love watching you videos
@Snowy07
@Snowy07 9 ай бұрын
⚡ 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
@pascalldecreator5659
@pascalldecreator5659 9 ай бұрын
"nano, the best editor in the world" lmao
@misterkite
@misterkite 2 ай бұрын
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 Ай бұрын
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
@onlySICO
@onlySICO 2 ай бұрын
Your face should be in the wiki article brogrammer as an example
@Chris-wt1eq
@Chris-wt1eq 9 ай бұрын
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
@boink800
@boink800 9 ай бұрын
I stopped using screen years ago -- it was too instable. tmux is very stable and it gets the job done -- no more "dumped cores" as with screen.
@idahofur
@idahofur 9 ай бұрын
I was trying to think about the command before tmux. Though I can't remember if screen allowed multiple windows on your display. But, I do know years ago. (never got it to work.) A person wrote a windows? section monitor to split up sessions like on a ibm as/400 console. So you had like 6 screens open at once in front of you.
@kizomanizo
@kizomanizo 8 ай бұрын
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.
@amtam05
@amtam05 9 ай бұрын
Why would you run Linux boxes in the Cloud for five bucks a month when you can run them for free on your own hardware? Especially when you run so many?
@BubbaabbuB
@BubbaabbuB 9 ай бұрын
Right he’s just making videos to profit himself
@fision8090
@fision8090 8 ай бұрын
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
@Punjab_the_land_of_five_rivers
@Punjab_the_land_of_five_rivers 9 ай бұрын
Found one simple command instead of ctrl+b+alt+1/2/3/4/5 is ctrl+b+spacebar it will toggle between the layouts and I find it very simple to remember.
@greendsnow
@greendsnow 9 ай бұрын
omg he's using windows...
@notandyvee
@notandyvee 2 ай бұрын
You're super entertaining. As a dad, I'm here to support other dads. Subscribed!
@nobeltnium
@nobeltnium 9 ай бұрын
It's like a tiling WM but for your terminal
@reinhardomogware6707
@reinhardomogware6707 9 ай бұрын
The only thing I really didn't like about tmux was that I had a hard time scrolling stuff, I end up entering copy mode to scroll
@SpooningTreesap86
@SpooningTreesap86 17 сағат бұрын
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
@VaibhavShewale
@VaibhavShewale 9 ай бұрын
first i thought you were talking about termux
@lileightright
@lileightright 9 ай бұрын
neovim+tmux+yabai+skhd = best development environment ever. NeoVim is a modern, feature-rich text editor and a fork of the Vim editor. Tmux stands for "terminal multiplexer". Yabai is a tiling window manager for macOS. Skhd is a simple hotkey daemon for macOS.
@darkjo4335
@darkjo4335 9 ай бұрын
So you use tmux to manage multiple terminal session in the same window ? If it’s so, why no use multiple window with each one that represent a terminal session that you can manage with yabai ?
@lileightright
@lileightright 9 ай бұрын
​@@darkjo4335 Yabai manages apps like Chrome and other generals apps, while Tmux handles my Neovim windows thats running on the terminal. For instance, I can have one Tmux window for frontend code and another for backend. Yabai ensures Chrome stays open, while Tmux assists in switching between the code windows.
@lileightright
@lileightright 8 ай бұрын
@@darkjo4335 Yes, you're correct. While I can use multiple iTerm windows, the advantage of tmux is its ability to manage various tasks within a single window. This includes splitting and resizing panes, which is particularly useful when using Neovim. You can have one pane dedicated to the text editor and several others for terminals, all controlled seamlessly with tmux keybindings. you can check this video to see why tmux really good with nvim. kzbin.info/www/bejne/i17SnnSCjK51pdU&pp=ygUKam9zZW4gdHVteA%3D%3D
@sporock
@sporock 9 ай бұрын
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.
@aryajpegasus
@aryajpegasus 7 ай бұрын
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!
@IzumiItachi-yh5vf
@IzumiItachi-yh5vf 9 ай бұрын
I am first comment ❤
@Redyf
@Redyf 9 ай бұрын
Can you make a video about NixOS? It's a great declarative linux distro for servers and desktops
@haotianhang3997
@haotianhang3997 9 ай бұрын
What is tmux's advantage comparing to screen?
@WA4OSH
@WA4OSH 9 ай бұрын
I think being able to name windows is really good. It's hard for me to remember 0, 1, 2 versus names like router switch stats, etc. Screen didn't let you detach from sessions. This is very useful when you need to switch from a Linux to a Windows machine for certain admin functions.
@haotianhang3997
@haotianhang3997 9 ай бұрын
@@WA4OSH screen definitely has the capability of naming and detachment, I'm using them daily. But I'm not sure about windows machine.
@WA4OSH
@WA4OSH 9 ай бұрын
@@haotianhang3997 OK .. I missed the screen naming feature on screen. I will look into it. I sometimes need to put everything on hold and run apps on a windows machine. Sadly, TMUX is not supported on Windows, nor would the sessions make any sense on the Windows machine. But you can SSH from the Windows machine back to where you put your session on hold.
@TristanJVShow
@TristanJVShow 9 ай бұрын
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!
@CodingHk
@CodingHk 9 ай бұрын
Guys just 👍 👇
@DasPuppy
@DasPuppy 9 ай бұрын
I've been using screen - but it doesn't remember the panes. At least as far as I am aware when I connect from a different machine or new ssh session.. might actually look into this just because the panes are so handy
@Tntdruid
@Tntdruid 9 ай бұрын
Been using it for yesr years now 😂
@licokr
@licokr 6 күн бұрын
Crazy, thank you for introducing the all the commands. Easy to understand and I'll be installing tmux right now
@sthembisomsimango
@sthembisomsimango 7 күн бұрын
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❤
@steschtec2051
@steschtec2051 9 ай бұрын
seems like "screen" under linux?
@SnowDaemon
@SnowDaemon 9 ай бұрын
There are many reasons I use Linux instead of Windows, but Tmux is probably the #1 reason.
@WA4OSH
@WA4OSH 9 ай бұрын
Is there a Powershell equivalent? Some people go as far as installing TMUX on WSL for windows :D
@SnowDaemon
@SnowDaemon 9 ай бұрын
Using WSL is the only way i know how to do the equivelant on WIndows. There is not (to my knowledge) an equivalent in Powershell or Windows in general.@@WA4OSH
@PriestApostate
@PriestApostate 3 ай бұрын
Thanks for this video! This is WAY more useful than the man page (which totaled to an extremely dry 70+ pages)! I also LOVED how you showed the key presses, as I have been struggling with the keyboard combos since learning about this application! But did you have to do Harambe like that (#stilltoosoon)?
@ivokuzov1
@ivokuzov1 6 күн бұрын
I want to know which Screen Annotation Tool are you using. It is so smooth. Non of the others I know works so well as yours. Reveal your secret please :) :)
@tux9656
@tux9656 Ай бұрын
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!
@Hawlkeye-e9p
@Hawlkeye-e9p 9 ай бұрын
Bs. Already learned vm's, proxmox, pihole, tmux, and a hand full of other technologies while being a+, sql, pmp, psm II, Itil v4, certified with handheld to data center hardware. AND NO JOB. this economy fkn suks bad. Real bad
@KadekRegen
@KadekRegen 9 ай бұрын
why dont just use screen?
@zamap4278
@zamap4278 12 күн бұрын
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
@JoeX92
@JoeX92 9 ай бұрын
I'm actually wondering why did you take so long to make this video? I've been using Tmux for years!
@jonathanp906
@jonathanp906 9 ай бұрын
Great video! Been using tmux just for detach/attaching sessions, but didn't know about copy mode! That will be useful! You'd love vim, its great.
you need to learn Kubernetes RIGHT NOW!!
29:34
NetworkChuck
Рет қаралды 1,2 МЛН
Tmux Tutorial for Beginners
11:58
Linux Training Academy
Рет қаралды 21 М.
Ozoda - Lada (Official Music Video)
06:07
Ozoda
Рет қаралды 14 МЛН
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 16 МЛН
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 67 МЛН
7 Cybersecurity Tips NOBODY Tells You (but are EASY to do)
13:49
All Things Secured
Рет қаралды 365 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 999 М.
I ranked EVERY terminal emulator. It was nuts
20:35
typecraft
Рет қаралды 90 М.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,6 МЛН
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 192 М.
Run your own AI (but private)
22:13
NetworkChuck
Рет қаралды 1,5 МЛН
you need to learn Ansible RIGHT NOW!! (Linux Automation)
21:21
NetworkChuck
Рет қаралды 874 М.
Docker networking is CRAZY!! (you NEED to learn it)
39:12
NetworkChuck
Рет қаралды 1,7 МЛН
Настройка Tmux - использование, установка, плагины
18:37
The ARCH LINUX Experience
34:30
Bog
Рет қаралды 454 М.