Doubt regarding executable files in linux
Posted
by Chaitanya
on Stack Overflow
See other posts from Stack Overflow
or by Chaitanya
Published on 2010-05-08T01:34:15Z
Indexed on
2010/05/08
1:38 UTC
Read the original article
Hit count: 259
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?
© Stack Overflow or respective owner