if “N” || “n” || “hamburgers and bunnies”
August 27th, 2009My team loves automation. Today, I threw a shell script together so I could run four installs on multiple servers efficiently. It is a simple, logic-driven script—user inputs “Y,” things happen. Input “N”, nothing happens. It works pretty well, but something tells me I need to put in a little more work:
[root@psrdevweb01 ~]# ./cognos_install.sh
Unzip installer (Y/N)?
> hamburgers and bunnies
Skipping unzip and untar step…
Select one install option below:
1. Application Tier only
2. Content Manager only
3. Gateway Server only
4. Application Tier and Content Manager
5. Full Install
> 5
Continue with install (Y/N)?
> YOU’RE the suspicious one, you crazy security guard
Did not install Cognos BI Server.

Leave a Reply