I've written a basic command line application composed of multiple bash scripts. One of these is intended to be run by any user of the computer, so I understand the correct location for this would be /usr/local/bin/
.
The other scripts should not be directly run by the user, but called only by the first script. Security isn't an issue here, I don't mind if the user goes to the trouble of finding their exact path and executing them from there, but I don't want them in a path that means they can be called from anywhere.
Currently I've got them all in /usr/sbin/my_app_name/
but I understand I shouldn't really be putting stuff there. But where should I put such scripts? Ideally I'd like to just move the my_app_name
folder, which contains the scripts, to the correct location.