Auto compil is a bash script witch permite to compile and execute a C program when you save the .c file your put in parameter. It permite to save time during your C development.
Install inotify-tools
sudo apt-get install inotify-toolsDownload the script and do this:
chmod +x /path_to/the_script/autoCompilC.shsudo mv /path_to/the_script/autoCompilC.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='autoCompilC.sh'Apply changes :
source ~/.bashrc Now you can executhe the script like this :
em yourProgram.c