Useful for running commands as another user.
Adding help for shutdown, useful for rebooting the system,
Mercurial is extensively used as a version control system, as an option to Git, so I'm adding its cheatsheet.