guess_system 260 B

12345678910
  1. #!/BIN/SH
  2. CPU=`(uname -m) 2>/dev/null` || MACHINE="unknown"
  3. RELEASE=`(uname -r) 2>/dev/null` || RELEASE="unknown"
  4. SYSTEM=`(uname -s) 2>/dev/null` || SYSTEM="unknown"
  5. VERSION=`(uname -v) 2>/dev/null` || VERSION="unknown"
  6. echo $CPU $RELEASE $SYSTEM $VERSION