# release - this is in DOS format - use FLIP (http://www.woodsmall.com/FLIP.htm) to convert to Linux ASCII # This version will RUN on any Linux or UNIX system. Use FLIP only prior to editing. # Copyright 2003-2018 by David R. Woodsmall www.woodsmall.com # FEEL FREE TO DISTRIBUTE AND USE - Pls retain the copyright notice # This script display's Linux/Unix OS information. # If neither /etc/read-hat-release NOR //etc/SuSe-release exists, then # if file /etc/issue exists, it displays the first line in /etc/issue. # Notes: AIX does NOT Have an issue file. # echo "" echo " LINUX VERSION: ";echo "" if [ -f /etc/redhat-release ] ; then cat /etc/redhat-release else if [ -f /etc/SuSE-release ] ; then cat /etc/SuSE-release else if [ -f /etc/issue ] ; then head -1 /etc/issue else echo "Linux OR Unix Version UNknown" fi fi fi echo ""; echo " Release: " echo ""; uname -r echo ""; echo " Machine PROCESSOR TYPE: " echo ""; uname -p echo ""; echo " Machine Hardware (what SOFTWARE type [32-bit, x86_64,...] is running) PLATFORM: " echo "";uname -i;echo "";