Skip to content

Instantly share code, notes, and snippets.

View PeshawaAziz's full-sized avatar
☀️

Peshawa Aziz PeshawaAziz

☀️
  • Amirkabir University of Technology
  • Mahabad
View GitHub Profile

KAMRAN: comrunc

A very simple bash script to compile and run C files for GCC compiler

Note: I use Git Bash for Windows so the instructions might differ from Linux and Bash environment.

  1. Inside Git installation folder under Program Files go to usr/bin.
  2. Make three bash script files named comc.sh, runc.sh, comrunc.sh containing the code below:

comc.sh