A simple template to create bash scripts for running jobs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Abhishek Balam 285e7be65b Mon Jul 8 13:21:59 IST 2019 1 year ago
README.md Mon Jul 8 13:21:59 IST 2019 1 year ago
myscript init 1 year ago


Bash Script Template


  1. Change permissions sudo chmod +x myscript.
  2. In the help section add your help content with options list.
  3. Add options in the OPTIONS section and corresponding logic in functions.
  4. Rename myscript to what you want.
  5. *Place the script in ~/bin
  6. *Add this to end of ~/.bashrc: export PATH=$PATH:~/bin

* -> Optional Steps