I have a program written in C, which is named computeWeight.c and to compile it i use the following code
chaitu@ubuntu:~$ gcc -Wall -o computeWeight computeWeight.c
//to execute it:
chaitu@ubuntu:~$ ./computeWeight
Do i have any mechansim where i can directly use as mentioned below,
chaitu@ubuntu:~$ computeWeight
Should i be changing any permissions on the executable to get this?