Talk:Bash

 read -p "Enter MySQL user: " -s DBUSER read -p "Enter MySQL $DBUSER password: " DBPASS DATE=$(date +'%m%d%Y') for DB in $(echo "show databases" | mysql -u$DBUSER -p$DBPASS | grep -v Database); do  mysqldump -u$DBUSER -p$DBPASS $DB > $DB-$DATE.sql || exit $? gzip $DB-$DATE.sql || exit $? done && exit $? 
 * 1) !/bin/bash
 * 1) dump all databases to current path