I suspect the convention is to leave my bash scripts in one of the directories of the default $PATH. Which?
I imagine 2 kinds of scripts so I am asking for 2 answers, please.
/usr/local/bin
和root的/usr/local/sbin
通常位于用户创建的打算在本地运行的脚本的位置
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.