Say you are new to Linux world and just installed Linux desktop and now you would like to fire up terminal window and start issuing commands, but wait you don’t know how to access a terminal window in Linux, in this article I will walk you through how to open a Linux terminal window and set up a keyboard shortcut for easier access.
Before I begin, allow me to explain the basic differences between a shell and a terminal emulator.
The shell is a command-line interface program that takes commands from the user as an input, processes the command, and prints out the output to the display. In most Linux systems, you will find bash (Bourne Again SHell) installed and is the default, Bash is an enhanced version of Unix shell program sh (shell). Apart from bash, there are other shell programs that can be installed on Linux machines such as ksh, zsh, and csh.
The terminal emulator
Simply put, a Terminal Emulator is a program that allows users to interact with shell in the graphical user interface (GUI) environment.
Some familiar terminal emulators you might find in Linux distros are:
Opening the Linux terminal window
I am using a Centos 8 Machine with the Gnome Desktop Environment. I’m going to show you two different ways to open a Linux terminal window.
Gnome desktop environment makes easy access of application, in order to access the terminal window, press the super key (aka Windows key) and you should see Terminal application listed on the left-hand side application pane if you don’t see it listed on here simple start searching for “Terminal” in the search area.
You should see a Terminal Emulator application
The other way (my favorite) is to open the terminal window is with a keyboard shortcut. Who doesn’t like to have a keyboard shortcut? Keyboard shortcuts make it easier to launch apps.
You can create a keyboard shortcut to open a terminal window, create a new shortcut, press the super key and search for “keyboard” or “shortcut” and launch it.
Click on “+” option at the end of the list to create a new keyboard shortcut.
Provide the required information, Like Name of the shortcut, command. You can name this anything you would like to, I named it “Open Terminal Window”, the command, in this case, is “gnome-terminal” since gnome-terminal is installed on centos and RHEL machines. If you have other terminal emulators such as “konsole” provide that command in this field. In the next article, I will show you how to install other Linux terminal emulators.
Click on set shortcut button to set a new keyboard short cut, this is where you register key combination to launch the terminal window.
I used CTRL + ALT + T, you can use any combination, but remember this key combination should be unique and not being used by other keyboard shortcuts.
Finally, click on Add to register this keyboard shortcut and you’re all set to use the new terminal window shortcut you created.
Whether you choose to create a keyboard shortcut to launch a terminal window or to simply launch it from Applications, it's simple to open the Linux terminal window in Linux. The process is similar to other desktop environments. For myself, I like the luxury of using keyboard shortcuts. In a future article, I will show you how to install additional terminal emulators onto your Linux system. Until then, enjoy practicing at your new-found graphical command line.
Want to try out Red Hat Enterprise Linux? Download it now for free.