# for i in `echo "table1 table2 table3"`; do mysql -uusername -ppassword database_name -e "SELECT COUNT(*) FROM $i";done;
bash for loop through text
# for i in `echo "table1 table2 table3"`; do mysql -uusername -ppassword database_name -e "SELECT COUNT(*) FROM $i";done;