Best Directory for Shared Scripts – Scripting Conventions

conventionsdirectory-structurescripting

What is the conventional directory to keep shared scripts that might be used by more than one user?

I've read through this overview of the standard file system hierarchy, but it doesn't seem to recommend a location for storing shared scripts. Creating a /opt/scripts directory seems like a reasonable option, but I'd like to know if there is a standard UNIX convention for this.

Best Answer

I believe it's /usr/local/bin/ - it's for installing custom, not maintained by package manager executables.

Related Question