Easy compil is a simple bash script witch permite to compile and execute a C program. It permite to save time during your C development.
Download the script and do this:
chmod +x /path_to/the_script/easyCompilC.shsudo mv /path_to/the_script/easyCompilC.sh /usr/local/bin/After that you can execute the script from everywhere like this :
autoCompilC.sh yourProgram.c You can also create an alias on the bashrc :
nano ~/.bashrc And add this line by replacing the 'ec' by what you want :
alias ec='easyCompilC.sh'Apply changes :
sources ~/.bashrc Now you can executhe the script like this :
em yourProgram.c