Practical limit to PATH statement length?

Net Llama! netllama
Mon May 17 11:33:50 PDT 2004


On Mon, 24 Jun 2002, Kurt Wall wrote:
> 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...

I think the more important issue is why you're installing everything in
such a non-traditional fashion.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com




More information about the Linux-users mailing list