Bash Script Template

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 from the hard step of setting up everything.

With this script, you have:

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

 

You can download the script from here

Follow me

Carlos Alberto Umanzor Arguedas

Web Developer at carlosumanzor.com
Web Developer, QA Engineer and Gamer Enthusiast, Developer of Linkcrawler and Father of a future computer ninja.
Follow me

 

Skills

Posted on

December 18, 2013

Submit a Comment

Your email address will not be published. Required fields are marked *

ten + 15 =

Pin It on Pinterest

Shares
Share This
Optimization WordPress Plugins & Solutions by W3 EDGE