I am using
watch to monitor the progress of a MySQL replication slave. The way I have it set up now, the password shows up in the header of the
watch output. I am not exceedingly worried that someone will steal the password, but on principle I would prefer not to be showing a naked password to anyone who happens to wander up and look over my shoulder.
The command line I am currently using with
watch -n1 -d mysql -pmypass -e "'show slave status\G'"
Should I just bury the
mysql command in a tiny little shell script?