Practical limit to PATH statement length?

Kurt Wall kwall
Mon May 17 11:33:49 PDT 2004


Also sprach James McDonald:
>
> all,
> 
> Just wondering if linux has an upper limit.... to the $PATH length...
> Have been installing apps in /usr/local/<app_name> and PATH is
> becoming a war and peace book.

There is, but it's something like 1024 or 2048 characters. To shorten
PATH, you can create symlinks to the /usr/local/<app_name>/<app_name_binary
in /usr/local/bin...

Kurt
-- 
Fortune finishes the great quotations, #12

	Those who can, do.  Those who can't, write the instructions.



More information about the Linux-users mailing list