Sujet : Re: Default PATH setting - reduce to something more sensible?
De : rweikusat (at) *nospam* talktalk.net (Rainer Weikusat)
Groupes : comp.unix.programmerDate : 16. Jan 2025, 20:07:44
Autres entêtes
Message-ID : <87o7068tmn.fsf@doppelsaurus.mobileactivedefense.com>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
antispam@fricas.org (Waldek Hebisch) writes:
[...]
On my Debian system PATH is:
>
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
>
'/bin' is a symlink to '/usr/bin', so AFAICS '/bin' could be
safely removed from the path. '/usr/local/games' and
'/usr/games' are empty and I do not intend to put anything
there,
Games packaged by Debian will usually install their binaries/ programs
in /usr/games. For as long as you don't actually install any games,
/usr/games sitting at the end of the path will have no effect except
increasing the time until a "command not found" error is displayed by an
immeasurably small amount.