If you are using Ubuntu Linux, you will often see articles recommending running commands. To do this, you need to enter these commands in a terminal window. There are several ways to open one – including a quick keyboard shortcut
The tips in this article have been tested on Ubuntu 20.04 LTS. They should also apply to other Linux distributions that use the GNOME desktop environment.
warning: Be careful when executing commands found online. Make sure they are from a trusted source and that you understand what you are doing.
Use a keyboard shortcut to open a terminal
Press Ctrl + Alt + T to quickly open a terminal window at any time. A GNOME graphical terminal window will appear.
Start a terminal window from the dash
You can find the Terminal application in your other installed applications. To find them, click the “Show Applications”
Type “Terminal” and hit Enter to locate and launch the Terminal shortcut. You can also find the Terminal icon in the list of all the applications shown here and click on it.
Run a command to open a terminal
You can also press Alt + F2 to open the Run Command dialog box. Art
gnome-terminal Click here and press Enter to open a terminal window.
You can also run many other commands from the Alt + F2 window. However, you will not see any information as you would when running the command in a normal window. The Run dialog box is useful in situations where you only want to run one application. For example, you can press Alt + F2 and enter
firefox and press Enter to open a Firefox browser window.
CONNECTED: 8 deadly commands you should never run on Linux