#! /bin/bash SERV=192.168.0.83 USR1=root USR2=foobar DB_TST=foo_db echo echo ===== OS egrep '^NAME|PRETTY' /etc/os-release echo echo ===== MySQL software rpm -qa | fgrep -i mysql | sort echo echo ===== errmsg.sys find /usr -xdev -name errmsg.sys 2>/dev/null | xargs ls -ld echo echo ===== Set up test user + DB mysql -h $SERV -u $USR1 --table 2>&1 <&1 <&1 <