linux 添加 $path时间:2023-03-09 17:42:18 # vim /etc/profile在文档最后,添加:export PATH="/usr/local/src/bin:$PATH"保存,退出,然后运行:#source /etc/profile不报错则成功。