For example, if you want to run Firefox from the Terminal, you would simply type firefox and press Enter. Type -h or –help after the program name to display the help menu for that program. Many programs have additional command modifiers you can use to launch the program in a specific way. For example, you can launch a website in a web browser by typing the web browser name followed by the web address and press Enter to launch that website in the web browser (i. e. firefox www. wikihow. com. If you receive a message that says you don’t have permission to run a program or access is denied, type sudo before the program name and press Enter. The “sudo” command allows regular users to run Terminal commands with administrative privileges or root access. If you want to run a C or C++ program from the Terminal, you will first need to complie the program before you can launch it from the Terminal.
For example, if you have a program installed in the “bin” directory of your “Home” folder, you would type export PATH=$PATH:$Home/bin and press Enter. This will temporarily add the “$Home/bin” directory to your $PATH variable. You can see which directories are currently added to your $PATH variable by typing the command echo $PATH and pressing Enter.
For example, if you have a program installed in the “bin” directory of your “Home” folder, you would type export PATH=$PATH:$Home/bin and press Enter. This will temporarily add the “$Home/bin” directory to your $PATH variable. You can see which directories are currently added to your $PATH variable by typing the command echo $PATH and pressing Enter.