解决方法
为什么不使用〜/ .local / bin而不是弄乱你的/usr/bin并且每次更新都被搞砸了?
## one-time setup mkdir -p ~/.local/bin # prepend new path to PATH to give it priority echo 'PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc # then open new terminal or source ~/.bashrc ## create a wrapper script # $@ is there to passthrough args. echo 'nice -10' `which firefox` '$@' > ~/.local/bin/firefox # make it executable chmod +x ~/.local/bin/firefox # check sanity which firefox cat `which firefox`