You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
6 years ago | |
|---|---|---|
| scripts | 6 years ago | |
| .gitignore | 6 years ago | |
| LICENSE | 6 years ago | |
| README.md | 6 years ago | |
README.md
learn_bash
A repo dedicated to getting better at Bash Shell scripting
Commands
Add read and execute to a script using the DAC who symbols u, g, o. The a symbol is equivalent to ugo. Both the read and execute bits must be set for the shell to read then execture a shell scripte.
chmod u+rx <script>
Using absolute params here we are adding rwx to user, and r to group, and other.
chmod 744 <script>
chown <user_id>:<group_id> <script>