Shell scripting prerequisite #3
14 Jan 2009
Methods of giving execution permission for your files { "su" , don't forget her}.
In LINUX , you own what yo create ,i.e the files you created belong to you.
In order to execute the file , you need to twiddle few bits to make it run on your machine.
This can be done using simple command called chmod.
HOW??
Don't forget 421 { i used to remember it as 420 + 1 }
Why 420+1 ?? ==> Number-Words-Symbols-Cultural-History
4-> read (r)
2-> write(w)
1->execute(x)
chmod 777 *.* ==> gives you rwx rights on all the files , in the pwd.
You will get know , more one how to work with your scripts , in the next upcoming posts.
In LINUX , you own what yo create ,i.e the files you created belong to you.
In order to execute the file , you need to twiddle few bits to make it run on your machine.
This can be done using simple command called chmod.
HOW??
Don't forget 421 { i used to remember it as 420 + 1 }
Why 420+1 ?? ==> Number-Words-Symbols-Cultural-History
4-> read (r)
2-> write(w)
1->execute(x)
chmod 777 *.* ==> gives you rwx rights on all the files , in the pwd.
You will get know , more one how to work with your scripts , in the next upcoming posts.
RSS