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.
androiddrew 20bf745c8e Added some starting scripts 6 years ago
scripts Added some starting scripts 6 years ago
.gitignore Added some starting scripts 6 years ago
LICENSE Initial commit 6 years ago
README.md Added some starting scripts 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>