Where do I put bash scripts?

Where do I put bash scripts?
Answer
Where to place the scripts
  • If you are a system admin and want everyone on the system to be able to run the scripts, place them in /usr/local/bin . This directory is already in PATH by default on many systems.
  • If you want them to only be accessible to you, place them in ~/bin .
 

Tìm kiếm

Back
Top