Contents
How do I write code in Ubuntu terminal?
To open the Terminal, you can use the Ubuntu Dash or the Ctrl+Alt+T shortcut.
- Step 1: Install the build-essential packages. …
- Step 2: Write a simple C program. …
- Step 3: Compile the C program with gcc Compiler. …
- Step 4: Run the program.
How do I use terminal command in Ubuntu?
You can either:
- Open the Dash by clicking the Ubuntu icon in the upper-left, type “terminal”, and select the Terminal application from the results that appear.
- Hit the keyboard shortcut Ctrl – Alt + T .