← Back
Mischa Vandenburg June 23, 2026 14m

The First CLI Tool You NEED To Learn (You'll Use It Every Day)

Read full transcript 12 segments
  1. There are hundreds of command line There are hundreds of command line tools, but if I could keep only one, it tools, but if I could keep only one, it tools, but if I could keep only one, it would be tmux. And that's the one that would be tmux. And that's the one that would be tmux. And that's the one that you should be focusing on, too. My name you should be focusing on, too. My name you should be focusing on, too. My name is Misha. I'm a senior DevOps engineer, is Misha. I'm a senior DevOps engineer, is Misha. I'm a senior DevOps engineer, and I've helped over 15,000 people into and I've helped over 15,000 people into and I've helped over 15,000 people into tech careers using Linux. In this video, tech careers using Linux. In this video, tech careers using Linux. In this video, I'm going to show you how I run my I'm going to show you how I run my I'm going to show you how I run my entire work day from tmux, including entire work day from tmux, including entire work day from tmux, including large AI swarms. I'm going to teach you large AI swarms. I'm going to teach you large AI swarms. I'm going to teach you how to do it. So, let's go. So, the how to do it. So, let's go. So, the how to do it. So, let's go. So, the first question is, what the hell is first question is, what the hell is first question is, what the hell is tmux? And to answer that, we're not tmux? And to answer that, we're not tmux? And to answer that, we're not going to go to ChatGPT. No, we're going going to go to ChatGPT. No, we're going going to go to ChatGPT. No, we're going to answer this like a real man from the to answer this like a real man from the to answer this like a real man from the command line. So, we're going to type command line. So, we're going to type command line. So, we're going to type man tmux. Remember, you have everything man tmux. Remember, you have everything man tmux. Remember, you have everything you need right here on the command line you need right here on the command line you need right here on the command line in the man pages. There's no need for in the man pages. There's no need for in the man pages. There's no need for the internet or ChatGPT. It's all here. the internet or ChatGPT. It's all here. the internet or ChatGPT. It's all here. And if we want to learn about tmux, we And if we want to learn about tmux, we And if we want to learn about tmux, we can simply read, "tmux is a terminal can simply read, "tmux is a terminal can simply read, "tmux is a terminal multiplexer. It enables a number of multiplexer. It enables a number of multiplexer. It enables a number of terminals to be created, accessed, and terminals to be created, accessed, and terminals to be created, accessed, and controlled from a single screen." That's controlled from a single screen." That's controlled from a single screen." That's it. That's what tmux does. But as a it. That's what tmux does. But as a it. That's what tmux does. But as a beginner, it might be very difficult to beginner, it might be very difficult to beginner, it might be very difficult to conceptualize why this could be useful. conceptualize why this could be useful. conceptualize why this could be useful. So, that's what we're going to get into So, that's what we're going to get into So, that's what we're going to get into now. So, the first concept we need to now. So, the first concept we need to now. So, the first concept we need to understand is tmux sessions. So, if I understand is tmux sessions. So, if I understand is tmux sessions. So, if I type tmux ls, we will see that I have a type tmux ls, we will see that I have a type tmux ls, we will see that I have a tmux session running on my machine. If I tmux session running on my machine. If I tmux session running on my machine. If I run the command tmux, and if I now run run the command tmux, and if I now run run the command tmux, and if I now run tmux ls, I see that I have two sessions tmux ls, I see that I have two sessions tmux ls, I see that I have two sessions running on my machine here. So, each running on my machine here. So, each running on my machine here. So, each time I run a tmux process, then a new time I run a tmux process, then a new time I run a tmux process, then a new session is created on my machine. Now, session is created on my machine. Now, session is created on my machine. Now, the thing is with sessions is that you the thing is with sessions is that you the thing is with sessions is that you can attach and detach from them. And can attach and detach from them. And can attach and detach from them. And this is very important when you are

  2. this is very important when you are this is very important when you are managing many different machines over managing many different machines over managing many different machines over the network, for example. So, let me the network, for example. So, let me the network, for example. So, let me make this concrete for you. So, let's make this concrete for you. So, let's make this concrete for you. So, let's say I have a virtual machine, okay? I'm say I have a virtual machine, okay? I'm say I have a virtual machine, okay? I'm managing this via Tailscale, so I'm managing this via Tailscale, so I'm managing this via Tailscale, so I'm going to be logging in right now. So, we going to be logging in right now. So, we going to be logging in right now. So, we are now logged into this machine, and are now logged into this machine, and are now logged into this machine, and now I am on the remote machine. This is now I am on the remote machine. This is now I am on the remote machine. This is a virtual machine that is running OBS a virtual machine that is running OBS a virtual machine that is running OBS for me for when I'm streaming. Now, for me for when I'm streaming. Now, for me for when I'm streaming. Now, let's say I have an operation that I let's say I have an operation that I let's say I have an operation that I need to do on this machine. Well, the need to do on this machine. Well, the need to do on this machine. Well, the first thing I would do is to start tmux first thing I would do is to start tmux first thing I would do is to start tmux here. So, now I have tmux open. This is here. So, now I have tmux open. This is here. So, now I have tmux open. This is the standard configuration of tmux. And the standard configuration of tmux. And the standard configuration of tmux. And if I now do tmux LS, we see that there's if I now do tmux LS, we see that there's if I now do tmux LS, we see that there's one session running on this machine. one session running on this machine. one session running on this machine. Okay? And I'm attached to it. If I now Okay? And I'm attached to it. If I now Okay? And I'm attached to it. If I now press control B D, I am now detached, as press control B D, I am now detached, as press control B D, I am now detached, as it says here on the command line. If I it says here on the command line. If I it says here on the command line. If I now run tmux LS still, there is a now run tmux LS still, there is a now run tmux LS still, there is a session going, but I am not in a tmux session going, but I am not in a tmux session going, but I am not in a tmux session now. I can exit this session, session now. I can exit this session, session now. I can exit this session, clear. I am now on my main machine. I'm clear. I am now on my main machine. I'm clear. I am now on my main machine. I'm not on the virtual machine anymore. But not on the virtual machine anymore. But not on the virtual machine anymore. But if I SSH again, I am here on the virtual if I SSH again, I am here on the virtual if I SSH again, I am here on the virtual machine. tmux LS, the session is there.

  3. machine. tmux LS, the session is there. machine. tmux LS, the session is there. And if I now do tmux attach, I am now And if I now do tmux attach, I am now And if I now do tmux attach, I am now attached to the session again, and you attached to the session again, and you attached to the session again, and you see that I also have the history here. see that I also have the history here. see that I also have the history here. Okay? Now, this becomes very useful if I Okay? Now, this becomes very useful if I Okay? Now, this becomes very useful if I am running an operation on this machine am running an operation on this machine am running an operation on this machine that I don't want to stop when I detach that I don't want to stop when I detach that I don't want to stop when I detach from the SSH session. So, one practical from the SSH session. So, one practical from the SSH session. So, one practical use case in my career has been database use case in my career has been database use case in my career has been database migrations. Before we did this on migrations. Before we did this on migrations. Before we did this on Kubernetes, migrating a database, Kubernetes, migrating a database, Kubernetes, migrating a database, especially if it's multiple terabytes, especially if it's multiple terabytes, especially if it's multiple terabytes, is a long-running operation that I want is a long-running operation that I want is a long-running operation that I want to be running over multiple hours or to be running over multiple hours or to be running over multiple hours or even days sometimes. And this is where even days sometimes. And this is where even days sometimes. And this is where tmux is really useful. So, what we're tmux is really useful. So, what we're tmux is really useful. So, what we're going to do is this extremely important going to do is this extremely important going to do is this extremely important process for I in range 1 to 100,000, do process for I in range 1 to 100,000, do process for I in range 1 to 100,000, do echo "Please like and subscribe. You are echo "Please like and subscribe. You are echo "Please like and subscribe. You are dollar I." Then we're going to sleep for dollar I." Then we're going to sleep for dollar I." Then we're going to sleep for 5 seconds, and we'll be done. So, now we 5 seconds, and we'll be done. So, now we 5 seconds, and we'll be done. So, now we are running this extremely important are running this extremely important are running this extremely important process where we are iterating over our process where we are iterating over our process where we are iterating over our subscribers like this. And we are slowly subscribers like this. And we are slowly subscribers like this. And we are slowly increasing them, like you are going to increasing them, like you are going to increasing them, like you are going to be doing by clicking the subscribe be doing by clicking the subscribe be doing by clicking the subscribe button right now. Thank you very much.

  4. button right now. Thank you very much. button right now. Thank you very much. So, if I have this important process, So, if I have this important process, So, if I have this important process, I'm now on a virtual machine, but let's I'm now on a virtual machine, but let's I'm now on a virtual machine, but let's say I am done for the day. say I am done for the day. say I am done for the day. I'm ready to to go home, but I don't I'm ready to to go home, but I don't I'm ready to to go home, but I don't want to have this thing open on my want to have this thing open on my want to have this thing open on my laptop, because if I close my laptop, laptop, because if I close my laptop, laptop, because if I close my laptop, I'm going to break this process. So, I'm going to break this process. So, I'm going to break this process. So, what I will do is I do control B D. I am what I will do is I do control B D. I am what I will do is I do control B D. I am now detached from this session, and I now detached from this session, and I now detached from this session, and I can exit this session, okay? I hope you can exit this session, okay? I hope you can exit this session, okay? I hope you took note of what what the subscriber took note of what what the subscriber took note of what what the subscriber count was when we detached just now, but count was when we detached just now, but count was when we detached just now, but if I now SSH back into this virtual if I now SSH back into this virtual if I now SSH back into this virtual machine, I can now tmux LS again, and we machine, I can now tmux LS again, and we machine, I can now tmux LS again, and we see that there's still a session see that there's still a session see that there's still a session running. And if I now tmux attach, we running. And if I now tmux attach, we running. And if I now tmux attach, we will see that we are now at number 13. will see that we are now at number 13. will see that we are now at number 13. So, as I was detached, as I was sleeping So, as I was detached, as I was sleeping So, as I was detached, as I was sleeping at home, it has been going and going and at home, it has been going and going and at home, it has been going and going and going. And this is one of the main use going. And this is one of the main use going. And this is one of the main use cases of tmux, where you can leave cases of tmux, where you can leave cases of tmux, where you can leave processes running on a machine and processes running on a machine and processes running on a machine and attach and detach from them as you attach and detach from them as you attach and detach from them as you require. So, now you have learned about require. So, now you have learned about require. So, now you have learned about the concept of tmux sessions. Now, let's the concept of tmux sessions. Now, let's the concept of tmux sessions. Now, let's learn about windows and panes. So, here learn about windows and panes. So, here learn about windows and panes. So, here in the bottom of the screen, you're in the bottom of the screen, you're in the bottom of the screen, you're going to see the number zero here. If I going to see the number zero here. If I going to see the number zero here. If I press control B C now, then I have now press control B C now, then I have now press control B C now, then I have now created a new window. In the bottom, you created a new window. In the bottom, you created a new window. In the bottom, you will see that now there is number one will see that now there is number one will see that now there is number one bash. And the bash here is the name of bash. And the bash here is the name of bash. And the bash here is the name of the process that we are currently the process that we are currently the process that we are currently running, because I'm running a shell running, because I'm running a shell running, because I'm running a shell here, okay? So, if I press control B C here, okay? So, if I press control B C here, okay? So, if I press control B C again, I have now three windows. And if again, I have now three windows. And if again, I have now three windows. And if I do control B N, I can go to the next I do control B N, I can go to the next I do control B N, I can go to the next one. Control B N, I go to the next one.

  5. one. Control B N, I go to the next one. one. Control B N, I go to the next one. And control B P, I can go to the And control B P, I can go to the And control B P, I can go to the previous one, okay? So, this is how I previous one, okay? So, this is how I previous one, okay? So, this is how I can switch between these. Now, in this can switch between these. Now, in this can switch between these. Now, in this window, I can do anything. Like we were window, I can do anything. Like we were window, I can do anything. Like we were doing, I can, for example, install a new doing, I can, for example, install a new doing, I can, for example, install a new application, sudo apt install btop. So, application, sudo apt install btop. So, application, sudo apt install btop. So, now I have btop running, and if I zoom now I have btop running, and if I zoom now I have btop running, and if I zoom out a bit, I can now monitor my machine out a bit, I can now monitor my machine out a bit, I can now monitor my machine as it's running this extremely important as it's running this extremely important as it's running this extremely important process of subscribing to my channel, process of subscribing to my channel, process of subscribing to my channel, for example. Now, let's say I want to for example. Now, let's say I want to for example. Now, let's say I want to have this open, but I also want to edit have this open, but I also want to edit have this open, but I also want to edit a file at the same time. With this, now a file at the same time. With this, now a file at the same time. With this, now we are going to learn about the concept we are going to learn about the concept we are going to learn about the concept of panes. So, if I do control B percent, of panes. So, if I do control B percent, of panes. So, if I do control B percent, I am now opening a pane in the same I am now opening a pane in the same I am now opening a pane in the same window. So, this is very important to window. So, this is very important to window. So, this is very important to understand. A tmux session is a understand. A tmux session is a understand. A tmux session is a collection of windows, and a window is collection of windows, and a window is collection of windows, and a window is one or more panes. That is what you need one or more panes. That is what you need one or more panes. That is what you need to remember. Now, if I press Ctrl B to remember. Now, if I press Ctrl B to remember. Now, if I press Ctrl B {quotation mark}, I can now split that {quotation mark}, I can now split that {quotation mark}, I can now split that horizontally, as you see. And I can keep horizontally, as you see. And I can keep horizontally, as you see. And I can keep going and keep going and keep going and going and keep going and keep going and going and keep going and keep going and keep going and splitting this if I want keep going and splitting this if I want keep going and splitting this if I want to, okay? So, all of these are then to, okay? So, all of these are then to, okay? So, all of these are then creating a new bash shell that I can creating a new bash shell that I can creating a new bash shell that I can work in. So, what I could do, for work in. So, what I could do, for work in. So, what I could do, for example, is if I want to open a system example, is if I want to open a system example, is if I want to open a system config uration file, I can do sudo vim config uration file, I can do sudo vim config uration file, I can do sudo vim etsy, and then systemd, for example, and etsy, and then systemd, for example, and etsy, and then systemd, for example, and open my networkd.conf, and I can now open my networkd.conf, and I can now open my networkd.conf, and I can now edit this configuration file while I'm edit this configuration file while I'm edit this configuration file while I'm looking at the resource monitor at the looking at the resource monitor at the looking at the resource monitor at the same time. And in my first window, this same time. And in my first window, this same time. And in my first window, this process is still ongoing. So, I can do process is still ongoing. So, I can do process is still ongoing. So, I can do many things at the same time and keeping

  6. many things at the same time and keeping many things at the same time and keeping an eye of things at the same time. So, an eye of things at the same time. So, an eye of things at the same time. So, maybe you can start to see that this be maybe you can start to see that this be maybe you can start to see that this be can become very powerful, where I can be can become very powerful, where I can be can become very powerful, where I can be running multiple containers here, for running multiple containers here, for running multiple containers here, for example, and I can be editing my files example, and I can be editing my files example, and I can be editing my files while also keeping track of my resources while also keeping track of my resources while also keeping track of my resources as I'm doing this, all in just one as I'm doing this, all in just one as I'm doing this, all in just one terminal window. Like, again, I haven't terminal window. Like, again, I haven't terminal window. Like, again, I haven't started any like fancy GUI applications started any like fancy GUI applications started any like fancy GUI applications to do this. I'm just doing this from the to do this. I'm just doing this from the to do this. I'm just doing this from the command line. And this is the power of command line. And this is the power of command line. And this is the power of tmux and why I believe that you should tmux and why I believe that you should tmux and why I believe that you should learn it well. I can also do something learn it well. I can also do something learn it well. I can also do something like journalctl {dash} f, and it's now like journalctl {dash} f, and it's now like journalctl {dash} f, and it's now following the the system logs. And if I following the the system logs. And if I following the the system logs. And if I do sudo echo kek, then we'll see that do sudo echo kek, then we'll see that do sudo echo kek, then we'll see that every time I am running this command, a every time I am running this command, a every time I am running this command, a new log entry is entered because a new new log entry is entered because a new new log entry is entered because a new root session is being opened and closed root session is being opened and closed root session is being opened and closed every single time. And again, I can every single time. And again, I can every single time. And again, I can detach from this. This is now still detach from this. This is now still detach from this. This is now still running on my virtual machine. I can running on my virtual machine. I can running on my virtual machine. I can exit my terminal emulator, and when I exit my terminal emulator, and when I exit my terminal emulator, and when I start it up again, if I SSH and do tmux start it up again, if I SSH and do tmux start it up again, if I SSH and do tmux attach, then everything is just like I attach, then everything is just like I attach, then everything is just like I left it, including the important process left it, including the important process left it, including the important process of liking and subscribing to this video.

  7. of liking and subscribing to this video. of liking and subscribing to this video. Real quick, if you see me working on the Real quick, if you see me working on the Real quick, if you see me working on the command line like this and you're command line like this and you're command line like this and you're thinking, "I want to learn that," I have thinking, "I want to learn that," I have thinking, "I want to learn that," I have good news for you because I'm giving good news for you because I'm giving good news for you because I'm giving away a free 16-hour course today. You away a free 16-hour course today. You away a free 16-hour course today. You can check out the link in the can check out the link in the can check out the link in the description and when you follow the link description and when you follow the link description and when you follow the link and enter your details, it will spit it and enter your details, it will spit it and enter your details, it will spit it right back to you. You will get access right back to you. You will get access right back to you. You will get access to a free 16-hour course that's going to to a free 16-hour course that's going to to a free 16-hour course that's going to go deep into Linux basics, how to get go deep into Linux basics, how to get go deep into Linux basics, how to get Linux, and we're going to get even Linux, and we're going to get even Linux, and we're going to get even deeper into tmux, vim, everything you deeper into tmux, vim, everything you deeper into tmux, vim, everything you see me using completely for free. Check see me using completely for free. Check see me using completely for free. Check out the link in the description below. out the link in the description below. out the link in the description below. It also comes with a community of over It also comes with a community of over It also comes with a community of over 5,000 members, which is super active as 5,000 members, which is super active as 5,000 members, which is super active as you can see and it's all completely for you can see and it's all completely for you can see and it's all completely for free because I want to help as many free because I want to help as many free because I want to help as many people as possible discover the pleasure people as possible discover the pleasure people as possible discover the pleasure of using Linux. The link is in the of using Linux. The link is in the of using Linux. The link is in the description. Check it out. It's free. description. Check it out. It's free. description. Check it out. It's free. It's my gift to you and I'll see you in It's my gift to you and I'll see you in It's my gift to you and I'll see you in the Linux community. So, now I'm going the Linux community. So, now I'm going the Linux community. So, now I'm going to share some tmux wisdom with you that to share some tmux wisdom with you that to share some tmux wisdom with you that you don't typically hear other creators you don't typically hear other creators you don't typically hear other creators or teachers talk about and the first of or teachers talk about and the first of or teachers talk about and the first of that has to do with the fact of tabs in that has to do with the fact of tabs in that has to do with the fact of tabs in the terminal. So, you may have seen me the terminal. So, you may have seen me the terminal. So, you may have seen me do this stuff just now and think, if I do this stuff just now and think, if I do this stuff just now and think, if I download iTerm on macOS, it already has download iTerm on macOS, it already has download iTerm on macOS, it already has these tabs in the top. So, why would I these tabs in the top. So, why would I these tabs in the top. So, why would I need tmux? Now, I want you to think need tmux? Now, I want you to think need tmux? Now, I want you to think about this differently. If the real way about this differently. If the real way about this differently. If the real way to think about this is that if I can to think about this is that if I can to think about this is that if I can already do this from the command line already do this from the command line already do this from the command line using Linux native processes, why would using Linux native processes, why would using Linux native processes, why would I need to have a bloated terminal I need to have a bloated terminal I need to have a bloated terminal emulator that needs to have these little emulator that needs to have these little emulator that needs to have these little tabs on the top? And this is why I tabs on the top? And this is why I tabs on the top? And this is why I really prefer to use Alacritty and this really prefer to use Alacritty and this really prefer to use Alacritty and this is also why I fell in love with it years is also why I fell in love with it years is also why I fell in love with it years ago as I was investigating which ago as I was investigating which ago as I was investigating which terminal emulator am I going to use terminal emulator am I going to use terminal emulator am I going to use because here like here they actually

  8. because here like here they actually because here like here they actually say, why isn't feature X implemented? say, why isn't feature X implemented? say, why isn't feature X implemented? Then it it will literally say, this Then it it will literally say, this Then it it will literally say, this could be for a number of reasons, but could be for a number of reasons, but could be for a number of reasons, but sometimes this means you won't find sometimes this means you won't find sometimes this means you won't find things like tabs or splits, which are things like tabs or splits, which are things like tabs or splits, which are best left to a window manager or best left to a window manager or best left to a window manager or terminal multiplexer. Okay? So, they terminal multiplexer. Okay? So, they terminal multiplexer. Okay? So, they have this really minimal approach to have this really minimal approach to have this really minimal approach to things, which really resonates with me things, which really resonates with me things, which really resonates with me and then they simply just and then they simply just and then they simply just link to tmux, which is the source code link to tmux, which is the source code link to tmux, which is the source code is public, by the way, and still being is public, by the way, and still being is public, by the way, and still being worked on, as you can see. But, I really worked on, as you can see. But, I really worked on, as you can see. But, I really love that about Alacritty. And if you go love that about Alacritty. And if you go love that about Alacritty. And if you go and search in the issues, that it's it's and search in the issues, that it's it's and search in the issues, that it's it's actually quite hilarious. If you search actually quite hilarious. If you search actually quite hilarious. If you search here for tabs, you're going to see all of these you're going to see all of these ignorant people that want to have tabs ignorant people that want to have tabs ignorant people that want to have tabs in Electri. And yeah, the way they in Electri. And yeah, the way they in Electri. And yeah, the way they respond to this is hilarious. Just read respond to this is hilarious. Just read respond to this is hilarious. Just read through these. But here he's saying, through these. But here he's saying, through these. But here he's saying, "There's zero desire to reconsider this. "There's zero desire to reconsider this. "There's zero desire to reconsider this. If people enjoy terminal emulators with If people enjoy terminal emulators with If people enjoy terminal emulators with tabs, there's no problem with choosing a tabs, there's no problem with choosing a tabs, there's no problem with choosing a terminal emulator other than Electri." terminal emulator other than Electri." terminal emulator other than Electri." >> [laughter] >> [laughter] >> [laughter] >> This is >> This is >> This is like there's real gold here, okay? So, like there's real gold here, okay? So, like there's real gold here, okay? So, [snorts] yeah, this is the reason why I [snorts] yeah, this is the reason why I [snorts] yeah, this is the reason why I went for Electri back in the day. And it went for Electri back in the day. And it went for Electri back in the day. And it comes down to the Unix philosophy, comes down to the Unix philosophy, comes down to the Unix philosophy, right? Do one thing and do it well. So, right? Do one thing and do it well. So, right? Do one thing and do it well. So, your terminal emulator doesn't need tabs your terminal emulator doesn't need tabs your terminal emulator doesn't need tabs if you just learn how to use tmux well.

  9. if you just learn how to use tmux well. if you just learn how to use tmux well. And this translates very well into AI And this translates very well into AI And this translates very well into AI because if you've spent any time on X, because if you've spent any time on X, because if you've spent any time on X, then you will see about once a day I then you will see about once a day I then you will see about once a day I will see someone building their custom will see someone building their custom will see someone building their custom AI agent orchestrator, where they have AI agent orchestrator, where they have AI agent orchestrator, where they have like a GUI app and then, "Oh, I have all like a GUI app and then, "Oh, I have all like a GUI app and then, "Oh, I have all of these sessions where I can run an AI of these sessions where I can run an AI of these sessions where I can run an AI agent in." Well, hello, we have tmux. agent in." Well, hello, we have tmux. agent in." Well, hello, we have tmux. Claude code is a CLI process. Let me Claude code is a CLI process. Let me Claude code is a CLI process. Let me show you what I mean with this. So, show you what I mean with this. So, show you what I mean with this. So, obviously, I always run all of my AI obviously, I always run all of my AI obviously, I always run all of my AI workflows in on the command line, and workflows in on the command line, and workflows in on the command line, and I'm using tmux to do this. So, if I I'm using tmux to do this. So, if I I'm using tmux to do this. So, if I start this skill custom skill that I start this skill custom skill that I start this skill custom skill that I have, like business X scan, and then in have, like business X scan, and then in have, like business X scan, and then in the other window I'm going to do an the other window I'm going to do an the other window I'm going to do an in-depth review of my home lab, then you in-depth review of my home lab, then you in-depth review of my home lab, then you will notice that in the top here these will notice that in the top here these will notice that in the top here these tmux sessions are actually being renamed tmux sessions are actually being renamed tmux sessions are actually being renamed as it's going through. And this one, it as it's going through. And this one, it as it's going through. And this one, it had, "Hey Misha, good to see you. What had, "Hey Misha, good to see you. What had, "Hey Misha, good to see you. What are we working on today?" So, let's for are we working on today?" So, let's for are we working on today?" So, let's for this one we are going to say, "Write a this one we are going to say, "Write a this one we are going to say, "Write a short essay about why I think that tmux short essay about why I think that tmux short essay about why I think that tmux is better than using GUI applications is better than using GUI applications is better than using GUI applications for managing AI agents." So, it's going for managing AI agents." So, it's going for managing AI agents." So, it's going to write the short essay, and as we see, to write the short essay, and as we see, to write the short essay, and as we see, it's now going to be reviewing my home it's now going to be reviewing my home it's now going to be reviewing my home lab, and now it's doing a business scan lab, and now it's doing a business scan lab, and now it's doing a business scan on X, where it's going to research all on X, where it's going to research all on X, where it's going to research all of the accounts that may have a of the accounts that may have a of the accounts that may have a relevance to my own business, so I can relevance to my own business, so I can relevance to my own business, so I can get better ideas, etc. And I'm just get better ideas, etc. And I'm just get better ideas, etc. And I'm just using tmux to do this. If I now press using tmux to do this. If I now press using tmux to do this. If I now press Ctrl B W, I can very easily just switch Ctrl B W, I can very easily just switch Ctrl B W, I can very easily just switch through this. I see all of these through this. I see all of these through this. I see all of these sessions going on. I can very easily sessions going on. I can very easily sessions going on. I can very easily switch between them, check on the switch between them, check on the switch between them, check on the progress, and based on the names here, I progress, and based on the names here, I progress, and based on the names here, I can see whether they are done or not.

  10. can see whether they are done or not. can see whether they are done or not. And yeah, I have some really advanced AI And yeah, I have some really advanced AI And yeah, I have some really advanced AI systems going on that I just simply systems going on that I just simply systems going on that I just simply manage with tmux. So, if you're watching manage with tmux. So, if you're watching manage with tmux. So, if you're watching this and you're using some sort of this and you're using some sort of this and you're using some sort of custom AI agent orchestrator, then custom AI agent orchestrator, then custom AI agent orchestrator, then consider just using what you have consider just using what you have consider just using what you have available to you on the command line. available to you on the command line. available to you on the command line. You will thank me later. And now, the You will thank me later. And now, the You will thank me later. And now, the final piece of wisdom that I'm going to final piece of wisdom that I'm going to final piece of wisdom that I'm going to share with you that's going to lead to share with you that's going to lead to share with you that's going to lead to several angry comments, which is the several angry comments, which is the several angry comments, which is the following: Do not change the standard following: Do not change the standard following: Do not change the standard key bindings. I know, Ctrl B is a little key bindings. I know, Ctrl B is a little key bindings. I know, Ctrl B is a little bit awkward. It is a little bit awkward bit awkward. It is a little bit awkward bit awkward. It is a little bit awkward to get used to this. Please, please do to get used to this. Please, please do to get used to this. Please, please do not do like Ctrl B V to do a not do like Ctrl B V to do a not do like Ctrl B V to do a vertical split or Ctrl B H to do a vertical split or Ctrl B H to do a vertical split or Ctrl B H to do a horizontal split. Do not do it. Do not horizontal split. Do not do it. Do not horizontal split. Do not do it. Do not change the default key bindings because change the default key bindings because change the default key bindings because the moment you do, you're going to be the moment you do, you're going to be the moment you do, you're going to be completely useless on any remote system. completely useless on any remote system. completely useless on any remote system. If you want to have a tech job or a tech If you want to have a tech job or a tech If you want to have a tech job or a tech career, do not change the standard key career, do not change the standard key career, do not change the standard key bindings. Again, I was able to just SSH bindings. Again, I was able to just SSH bindings. Again, I was able to just SSH in here on a random Ubuntu VM and start in here on a random Ubuntu VM and start in here on a random Ubuntu VM and start my tmux session and be productive right my tmux session and be productive right my tmux session and be productive right away because these key bindings are the away because these key bindings are the away because these key bindings are the same. Had I changed my key bindings on same. Had I changed my key bindings on same. Had I changed my key bindings on my local machine and I'm now running my local machine and I'm now running my local machine and I'm now running tmux on the remote machine, I'm suddenly tmux on the remote machine, I'm suddenly tmux on the remote machine, I'm suddenly like, like, like, "Um Ctrl B H doesn't work. So, um my "Um Ctrl B H doesn't work. So, um my "Um Ctrl B H doesn't work. So, um my what what was it again?

  11. what what was it again? what what was it again? Uh tmux help uh what uh man tmux Uh tmux help uh what uh man tmux Uh tmux help uh what uh man tmux vertical like how do I do it?" Don't. vertical like how do I do it?" Don't. vertical like how do I do it?" Don't. This is going to kill your productivity, This is going to kill your productivity, This is going to kill your productivity, okay? You want to be so fluent on tmux okay? You want to be so fluent on tmux okay? You want to be so fluent on tmux that you can log in to any remote that you can log in to any remote that you can log in to any remote machine anywhere in the world and simply machine anywhere in the world and simply machine anywhere in the world and simply be productive right away. This is how be productive right away. This is how be productive right away. This is how you want to do it, okay? Take it from you want to do it, okay? Take it from you want to do it, okay? Take it from me, you're going to thank me 2 years me, you're going to thank me 2 years me, you're going to thank me 2 years from now after you've studied with me, from now after you've studied with me, from now after you've studied with me, you have a six-figure tech job, and you have a six-figure tech job, and you have a six-figure tech job, and you're working on a production outage on you're working on a production outage on you're working on a production outage on Friday afternoon, and suddenly you find Friday afternoon, and suddenly you find Friday afternoon, and suddenly you find yourself on a random Ubuntu VM using yourself on a random Ubuntu VM using yourself on a random Ubuntu VM using tmux to manage several processes. And tmux to manage several processes. And tmux to manage several processes. And then you're going to think to back to then you're going to think to back to then you're going to think to back to Misha who said, "Okay, I disagree with Misha who said, "Okay, I disagree with Misha who said, "Okay, I disagree with him, but now I understand why he said him, but now I understand why he said him, but now I understand why he said it." Now, I have lots more wisdom to it." Now, I have lots more wisdom to it." Now, I have lots more wisdom to share with you, and I'm giving it all share with you, and I'm giving it all share with you, and I'm giving it all away for free in the free Linux course. away for free in the free Linux course. away for free in the free Linux course. It's a free 16-hour course that you can It's a free 16-hour course that you can It's a free 16-hour course that you can access to by clicking the link in the access to by clicking the link in the access to by clicking the link in the description. It's completely for free. description. It's completely for free. description. It's completely for free. There's also a community of super There's also a community of super There's also a community of super competent people helping each other competent people helping each other competent people helping each other every single day. We are super active, every single day. We are super active, every single day. We are super active, and it's just an amazing place to be.

  12. and it's just an amazing place to be. and it's just an amazing place to be. You also get access to the 16 hours of You also get access to the 16 hours of You also get access to the 16 hours of premium video course material that my premium video course material that my premium video course material that my paid students pay thousands of dollars paid students pay thousands of dollars paid students pay thousands of dollars for, but I'm giving it away for free for, but I'm giving it away for free for, but I'm giving it away for free because I want as many people as because I want as many people as because I want as many people as possible to discover the pleasure of possible to discover the pleasure of possible to discover the pleasure of using Linux. Check out the link in the using Linux. Check out the link in the using Linux. Check out the link in the description below. It's completely for description below. It's completely for description below. It's completely for free. Enter your details, and it's spit free. Enter your details, and it's spit free. Enter your details, and it's spit it right back to you, and I will see you it right back to you, and I will see you it right back to you, and I will see you in the free Linux community. Thank you in the free Linux community. Thank you in the free Linux community. Thank you so much for watching. Start using tmux, so much for watching. Start using tmux, so much for watching. Start using tmux, and I'll see you in the next video. And and I'll see you in the next video. And and I'll see you in the next video. And don't change those key bindings.

Summary

The main theme is mastering tmux, a powerful command-line tool, for efficient workflow management. The speaker emphasizes learning directly from the `man` pages, referencing ChatGPT as an unnecessary alternative, and highlights the concept of detachable sessions for managing remote machines. The practical takeaway is to focus on tmux to control your entire workday, from simple tasks to complex operations like managing AI swarms.

View original episode ↗