So I have a script that I want to run as root, without hangup and nicely. What order should I put the commands in?
sudo nohup nice foo.bash &
or
noh
the sudo should go last so that nohup and nice aren't running with root privileges.
so the latter