Linux 配置环境变量$PATH
# 使用bash
vim ~/.bash_profile
export PATH="/usr/local/sbin:$PATH"
source ~/.bash_profile
# 使用zsh
vim ~/.zshrc
export PATH="/usr/local/sbin:$PATH"
source ~/.zshrc
# 使用bash
vim ~/.bash_profile
export PATH="/usr/local/sbin:$PATH"
source ~/.bash_profile
# 使用zsh
vim ~/.zshrc
export PATH="/usr/local/sbin:$PATH"
source ~/.zshrc