Negative niceness is very nice

Did you ever want to effortlessly start a process with highest (negative) priority?

Here is a tiny shell function to help with this:

function supernice {
  sudo --preserve-env=PATH nice -n -20 su -c $@ `whoami`
}
Copyright © 2023 Michael Franzl