sudo nohup nice <-- in what order?

Posted by Jonah Braun on Stack Overflow See other posts from Stack Overflow or by Jonah Braun
Published on 2008-12-08T18:23:31Z Indexed on 2010/05/09 11:28 UTC
Read the original article Hit count: 538

Filed under:
|
|
|
|

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

nohup nice sudo foo.bash &

etc.

I suspect it doesn't matter but would like some insight from those who really know.

© Stack Overflow or respective owner

Related posts about unix

Related posts about bash