I'd like to place a handmade script in its conventional place and folder structure. It's currently located in
/opt/chkobm/chkobm
, but it seems like a bad practice since it requires $PATH
to include wildcard paths (/opt/*/
)
From TLDP (section "Linux Filesystem Hierarchy"):
> Programs to be invoked by users are located in the directory /opt/'package'/bin.
Firstly, is there a consensual rule about where to place such files ? (/usr/bin
looks to me like a viable alternative place)
Secondly, should I place handmade scripts to /opt/*/bin/
and export this path to $PATH
?
Asked by Sumak
(273 rep)
Aug 27, 2020, 07:53 AM
Last activity: Dec 6, 2024, 12:37 PM
Last activity: Dec 6, 2024, 12:37 PM