Si quieres comprobar la versión de Ubuntu puedes usar este comando:
lsb_release -a
Cómo comprobar la dirección IP en Ubuntu
ip addr show
How to check Mysql version on Ubuntu
mysql -V
How to check Python version in Ubuntu
python -V
How to check PHP version on Ubuntu
php --version
How to check RAM in Ubuntu
free -h
How to check kernel version in Ubuntu
uname -a
How to check Ubuntu packages installed
dpkg -l
How to check package installed in Ubuntu
dpkg -l | grep package_name