From 20bf745c8e979a4e0800044e5f4df698b30f2007 Mon Sep 17 00:00:00 2001 From: androiddrew Date: Wed, 14 Aug 2019 22:25:54 -0400 Subject: [PATCH] Added some starting scripts --- .gitignore | 22 ++++++++++++---------- README.md | 20 +++++++++++++++++++- scripts/all_args.sh | 15 +++++++++++++++ scripts/my_echo.sh | 6 ++++++ scripts/pshow.sh | 8 ++++++++ scripts/shiftex.sh | 19 +++++++++++++++++++ 6 files changed, 79 insertions(+), 11 deletions(-) create mode 100755 scripts/all_args.sh create mode 100755 scripts/my_echo.sh create mode 100755 scripts/pshow.sh create mode 100755 scripts/shiftex.sh diff --git a/.gitignore b/.gitignore index 62933f0..4da9dc4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# ---> macOS +# ---> macOS .DS_Store .AppleDouble .LSOverride @@ -24,12 +24,14 @@ Icon Network Trash Folder Temporary Items .apdisk - -# ---> CMake -CMakeCache.txt -CMakeFiles -CMakeScripts -Makefile -cmake_install.cmake -install_manifest.txt - + +# ---> CMake +CMakeCache.txt +CMakeFiles +CMakeScripts +Makefile +cmake_install.cmake +install_manifest.txt + +# Pycharm +.idea/ \ No newline at end of file diff --git a/README.md b/README.md index d2b6fca..9c11f78 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,21 @@ # learn_bash -A repo dedicated to getting better at Bash Shell scripting \ No newline at end of file +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. +```bash +chmod u+rx