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.
- scripts for root user
- scripts for regular users
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
/usr/local/binfor users and/usr/local/sbinfor root is generally the place where user-created scripts meant to be run locally are located