linux list mysql user accounts sudo code example Example: mysql list users on ubuntu SELECT User FROM mysql.user;