How Do I Open a Program in Linux Terminal?
Contents

How do I run a program in Linux terminal?

In this article, we will explain how to write, compile, and run a simple C program.
…
To open the Terminal, you can use the Ubuntu Dash or the Ctrl+Alt+T shortcut.

  1. Step 1: Install the build-essential packages. …
  2. Step 2: Write a simple C program. …
  3. Step 3: Compile the C program with gcc Compiler. …
  4. Step 4: Run the program.

How do I open a program in terminal?

Running Programs via Terminal Window

  1. Click on the Windows Start button.
  2. Type “cmd” (without the quotes) and hit Return. …
  3. Change directory to your jythonMusic folder (e.g., type “cd DesktopjythonMusic” – or wherever your jythonMusic folder is stored).
  4. Type “jython -i filename.py“, where “filename.py” is the name of one of your programs.
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest