If you work a lot in the command line, you probably keep more than one Terminal window open at once. However, instead of having separate windows, you can condense all your Terminal sessions onto one window using tabs in ubuntu terminal.
We’ll show you how to create tabs in ubuntu terminal.
To begin, open a Terminal window and select “Preferences” from the “Terminal” menu. The menu bar may either be on the title bar of the Terminal window or on the top panel on the desktop, depending on whether global menus are enabled in Ubuntu.
On the Preferences dialog box, make sure the General tab is active. Then, select “Tab” from the “Open new terminals in” drop-down list.
Click “Close” to accept the change and close the Preferences dialog box.
To open a new Terminal session on a new tab, select “New Terminal” from the “Terminal” menu.
A second Terminal session is opened on a new tab and the original session is also available on a tab. The name on the tab includes the current directory you’re in on that tab.
NOTE: Even when the Open new terminals in option is set to Tab, pressing Ctrl+Alt+T opens a new Terminal session in a new window, not a new tab.
Once you have two sessions open, you can open additional sessions using plus button to the right of the tabs.
When you add a new tab, whether it be through the Terminal menu or using the plus button, the new session is open to the same directory you were in on the tab that was currently active at that time.
There are several ways to switch among tabs. You can click on a tab to activate it, of course. You can also use the down arrow button on the far right to select the session you want or press Alt+1, Alt+2, etc. on your keyboard to jump to a specific tab. The tabs are numbered from the left, starting at 1.
If you want change the order of the tabs, you can click on a tab and drag it to another location on the tab bar. When you move tabs, they’re renumbered, so using the Alt+1, Alt+2 keyboard shortcuts to switch among the tabs will account for the new tab order. For example, if you move the third tab to the second position, Alt+2 would then activate what used to be the third tab.
To close a tab, click the “X” button on the right side of the tab.
You can also move and close tabs by right-clicking on a tab and selecting an option from the popup menu.
To close the Terminal window, and all the tabs, click the “X” button in the upper-left corner of the window.
The tabs are not saved when you close the Terminal window. However, the Open new terminals in setting is preserved and you can open tabs in ubuntu terminal the next time you use it.
Latest posts by Unallocated Author (see all)
- How to choose a reliable VPN provider for 2019 - January 23, 2019
- How To Ensure Spam Protection And Secure Your Website - January 8, 2019
- Watch Netflix Content From Wherever - December 10, 2018