VICE is an emulator collection which emulates the C64, the C64-DTV, the C128, the VIC20, practically all PET models, the PLUS4 and the CBM-II (aka C610). It runs on Unix, MS-DOS, Win32, OS/2, Acorn RISC OS, BeOS, QNX 6.x, Amiga, GP2X or Mac OS X machines.
pofig - portable shell script for probing base system properties: OS, OS version, kernel version, distro, distro version, architecture.
It detects: 19 operating systems, 11 major linux distros, 13 CPU types.
See wiki for more information and examples.
cmdok checks that specified commands are OK. If command is OK than it exists in PATH and can be run.
It is a simple, small and portable Bash script. It is useful in software packages that want to check that some commands exist before trying to run them.
See wiki for more information and examples.