#version
7 one-liners with this tag.
All one-liners tagged version
List all installed Plesk PHP versions
$for p in /opt/plesk/php/*/bin/php; do echo "$p: $($p -r 'echo PHP_VERSION;')"; done
Show the Apache version and active MPM
$apache2ctl -V
Show the Debian or Ubuntu version of a server
$cat /etc/debian_version && grep -E '^(PRETTY_NAME|VERSION_CODENAME)=' /etc/os-release
Show the installed Plesk version
#plesk version
Show the LiteSpeed or OpenLiteSpeed version
#/usr/local/lsws/bin/lshttpd -v
Show the nginx version and compiled-in modules
$nginx -V 2>&1 | tr " " "\n" | grep -E "version|_module"
Show the PHP version on the command line
$php -v