Negative niceness is very nice
Caveat Lector: This blog post was published 6 years ago. Depending on
the content, it may no longer be applicable or relevant.
Did you ever want to effortlessly start a process with highest (negative) priority?
Here is a tiny shell function to help with this:
supernice () {
sudo --preserve-env=PATH nice -n -20 su -c $@ `whoami`
}
If you found a mistake in this blog post, or would like to suggest an improvement to this blog
post, please get in touch at michael@franzl.name; as subject please use the prefix "Comment to
blog post" and append the post title.