A simple template to create bash scripts for running jobs.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Abhishek Balam 285e7be65b Mon Jul 8 13:21:59 IST 2019 11 个月前
README.md Mon Jul 8 13:21:59 IST 2019 11 个月前
myscript init 11 个月前


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