How To Open Applications In Ubuntu Terminal

How to open applications in Ubuntu Terminal? Launch application from terminal Linux; run a program in Linux command line. This tutorial explains how to open apps using terminal Ubuntu

Using Terminal To Open An Application

You can open an application by using the Linux terminal. First open the terminal (press CTRL, ALT and T) or open it from Ubuntu Dash.

Now type the program’s name into the terminal. If you are not sure for the commands name, follow the steps:

First Method

Open /usr/share/applications. The default applications will have a .desktop file stored in /usr/share/applications folder.

From here right click on the application whose command you want to find out. Right clicking on the application’s icon will show the Properties. Under command box you can see the command to run in the terminal.

Second Method

To quickly find the locations of the application (gedit in this example) executable, run which gedit and for a listing of filesystem locations, run whereis gedit:

sourcedigit@SD:~$ whereis gedit
gedit: /usr/bin/gedit /usr/share/gedit /usr/share/man/man1/gedit.1.gz
sourcedigit@SD:~$ which gedit
sourcedigit@SD:~$ /usr/bin/gedit

Now run the command /usr/bin/gedit in terminal to open the app from terminal.

How To Open Applications In Ubuntu Terminal originally posted on Source Digit – Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos.