mysql - Shell script if condition - Stack Overflow
Shell script if condition up vote 0 down vote favorite I'm writing a script which runs the following command mysql -u root -e "show databases" and this will display a list of databases. If this table doesn't contain a database by name "userdb", it should ...