cumanzorx07 / bash_script_template

Bash Script Template - A start point for those who want to script procedures in Bash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bash Script Template

For those who want to start in the world of bash scripting, I took the liberty to start a new project in github, this is a starter bash script, that provides some basic functions and techniques just to free you from the hard step of setting up everything.

With this script, you have:

  • A copyright section (not really useful, but it may come in handy)
  • Sections for global variables , common methods and argument parsing (a place for everything and everything in its place)
  • A great argument parsing, based on http://kirk.webfinish.com/?p=45
  • Methods for checking if the user is root or wait for background procedures to finish
  • More functions will be added eventually….

Feel free to visit my site at: carlosumanzor.com

About

Bash Script Template - A start point for those who want to script procedures in Bash


Languages

Language:Shell 100.0%