Tmux can actually identify certain programs and rename your windows automatically (if you hadn’t named your window explicitly). Tmux session 0 with 4 windows The automatic window name You should have a total of four new terminal windows (you’ll only see one window at a time). It should now look like the screenshot below. Let’s add two more before you continue further. You should see on the taskbar that something named 1:bash has been added. Let’s create a couple of windows that you can switch between. The asterisk indicates that this is your active window. You will see a command prompt as usual, but you will now see a taskbar style menu on the bottom of the terminal that will say something like bash 0 *. Open a terminal and use the following command: tmux If you are curious about an article on advanced features and functionalities, let us know in the comment section! Create a session in tmux There are so many ways to customize tmux, that we won’t be able to cover everything in this article. My goal is to ease you in and show you the basic functionality. I will guide you through critical features one at a time. It is a powerful piece of software, but it can be a little confusing to get started with. On Debian and Ubuntu-based distributions, you can install it using the following command: sudo apt install tmux Getting Started with tmuxĪs we touched on, tmux is a great application to make you more productive. You can install it using the package manage of your distribution. Tmux is a popular application and it should be available in your Linux distribution’s official repository. I will show you how to install tmux and how to perform basic operations. We’re going to walk through everything together. If you are a little lost and don’t know what this article is about yet, that is totally fine. Aside from these notes, this article will not presume any previous knowledge. For some commands, I may point out similarities or differences. If you are already comfortable with the screen command, you can quickly scan this article for the differences. We had a great response to our screen command article, and I feel like our readers will really enjoy using some of the updated features of tmux. There are many similarities between the two applications. If you’re used to the screen command, you’ll find it easy to get started right away. Tmux is considered to be the next evolutionary step forward from the GNU Screen multiplexer. This is especially true if your work involves accessing remote machines via command line only. Learning how to use a terminal multiplexer will save you a lot of headaches if you spend a lot of time in the terminal. With tmux, you can create multiple terminal sessions that can be opened (attached) and closed (detached) or displayed simultaneously all from one window.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |