Generic shell script for standard solutions in unix