문제

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.

  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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top