Adicione o
-B sinalizar para mysql . mysql -B -u username -ppassword \
--disable-column-names \
--execute "select name from mydb.test"
-B, --batch: Print results in nontabular output format.
--execute: Execute the statement and quit.
Observe que
-B /--batch também habilita o --silent trocar.