On 06/11/2013 06:31 AM, Tim wrote:
Once the command finishes, your terminal is left with your
unprivileged
logon, so there's less chance of serious mistakes happening by accident
(e.g. badly wildcarded "rm" commands), if you're going to keep that
terminal open.
If you only need to run one command, use su -c; as far as the second
goes, there's a reason that by default rm for root is aliased to rm -i.