How To Make Commands For Linux Terminal. Compile and Run Your C Code in One Command

Coding, Tips
My friend has just started learning C and he was talking about how it was irritating that you couldn't run the code with one command like you can with Python. I agreed this was irritating, so I decided to take advantage of the customisability of Linux and make a command to do this for you. Quick: clone this repository, make the setup file executable using "sudo chmod +x setup" and then run "./setup". Steps: 1: Create a bash script Bash is the programming language used by the shell on Linux. You can create a bash script with the extension .sh, but you can also make a file without an extension by starting the file #! /bin/bash to create a bash environment. $ gedit FILENAME 2: Add your bash code As…
Read More