开发者

what is the convention for the location of my bash scripts?

开发者 https://www.devze.com 2023-01-31 13:43 出处:网络
I suspect the conventi开发者_运维问答on is to leave my bash scripts in one of the directories of the default $PATH.Which?

I suspect the conventi开发者_运维问答on 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.

  1. scripts for root user
  2. scripts for regular users


/usr/local/bin for users and /usr/local/sbin for root is generally the place where user-created scripts meant to be run locally are located

0

精彩评论

暂无评论...
验证码 换一张
取 消