Tooltips sh / Get user in terminal and apache
#!/bin/bash -e
#echo $(dirname $(readlink -f $0))
USER=$(whoami)
APACHE_USER=$(ps axho user,comm|grep -E "httpd|apache"|uniq|grep -v "root"|awk 'END {print $1}')
echo $(whoami)
echo $(ps axho user,comm|grep -E "httpd|apache"|uniq|grep -v "root"|awk 'END {print $1}')