#!/bin/sh
set -e
clear
echo "`uname -s`-`uname -m`-`uname -p` rel. `uname -r`"
echo "================================================"
echo
echo "Awk ............: `awk --version | head -1`"
echo "Binutils .......: `ld -v`"
echo "C++ Library ....: `ls -l /usr/lib/lib{g,stdc}++.so  2>/dev/nul | awk -F. '{print $4"."$5"."$6}' | head -1`"
echo "Dynamic Linker .: `ldd --version | head -1`"
echo "GCC ............: `gcc --version`"
echo "Kernel modutils : `insmod -V 2>&1 | head -1`"

echo "Mount ..........: `mount --version`"
echo "Net-tools ......: `hostname -V 2>&1 | head -1`"

echo "Perl ...........: `perl --version | head -2 | tail -1`"
echo "Procinfo .......: `procinfo -v`"
echo "Procps .........: `ps --version`"
echo "Psmisc .........: `pstree -V 2>&1`"

echo "Sed ............: `sed --version | head -1`"
echo "Sh .............: `sh --version | head -1`"
echo "Sh-utils .......: `basename --v 2>&1  | head -1`"
#echo "Util-linux ....: `chsh --version`"


echoc GREEN "OK"
exit
