Bash script for uniquely identifying linux and solaris platforms