filter less, vi, gzip and silence host command
[tomcat] linux: resolve symlinks to CATALINA_HOME

tries to detect even more obscure installs that don't support catalina.sh version
as the tomcat version is often in the real path