Jul
24th
Tue
24th
sudo -b
Trying to start a background process with sudo can be annoying, because you end up running sudo in the background, and it can’t collect the password it needs.
That’s why they invented the -b switch:
sudo -b safe_mysqld
… sudo asks for the password, then launches the MySQL daemon in the background. No more ctrl-z!