Shell scripting prerequisite #3
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.
Recent blog posts
- watir-webdriver web inspector
- gem list to gemfile
- Packing ruby2.0 on debian.
- Made it into The Guinness Book!
- to_h in ruby 2.0
- Filter elements by pattern jQuery.
- Better HTML password fields for mobile ?
- Grayscale image when user offline
- nth-child CSS pseudo-class Christmas colors
- EventEmitter in nodejs