Overview#Having worked in several large Linux/Unix environments, we kept seeing people do things over and over again often duplicating the same thing and even re-inventing the process over and over.
Having some knowledge of programing, we started using a script Library which has saved us and our clients untold piles of money.
We use two primary files to store commonly used functions and commonly used variables as follows:
- Shared Script Functions - Contains the common functions used in the organization.
- Shared Script Variables - Contains the common variables used in the organization.
Then we have some conventions to provide cohesion for the scripts:
Credits#There is no way one person does things like this and we like to note that often. The following have been major contributors to this concept which may not even be original.
- John (JJ) Johnson - We worked with John Johnson for more than 18 months on many different projects in large environments. John is a credit to our industry.
- Randal K. Michael - Randal, whom we also worked with on projects, wrote the book on scripting. Mastering UNIX Shell Scripting If you do scripting, then you NEED the book.