How do I code in Ubuntu terminal?
Answer
We will be using the Linux command line tool, the Terminal, in order to compile a simple C program.
To open the Terminal, you can use the Ubuntu Dash or the Ctrl+Alt+T shortcut.
Answer
We will be using the Linux command line tool, the Terminal, in order to compile a simple C program.
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.
- Step 4: Run the program.