Execute a command

Any input entered in the Terminal to be executed is referred to as a command. You can run both command line and graphical user interface (GUI) programs from the terminal.

To execute commands:

  1. Type the command in the Terminal prompt.

  2. Press Enter to execute it.

If you have a program that ends abruptly without any warning or error, you may want to run it in Terminal. This will allow the program to output any error or debugging messages to the Terminal window. This information can be helpful when filing a bug report.

Read about the Bash shell for more information on what you can do in a terminal.