techi3
In Runtime
- Messages
- 119
Would it be possible to write a script to chmod all files ending in .sh to change permissions to say 777?
I'm practicing my UNIX Scripting and before I run the script from the command-line I have to change the execution bit or I get denied.
I would like to create all my scripts then run my, I'll call it "chmod.sh" which would "chmod 777 *.sh" all my .sh file. Is this possible, if so, how would I go about writing this script?
Thank You.
I'm practicing my UNIX Scripting and before I run the script from the command-line I have to change the execution bit or I get denied.
I would like to create all my scripts then run my, I'll call it "chmod.sh" which would "chmod 777 *.sh" all my .sh file. Is this possible, if so, how would I go about writing this script?
Thank You.