bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: posix command search and execution


From: Mike Jonkmans
Subject: Re: posix command search and execution
Date: Thu, 9 Nov 2023 17:17:52 +0100

On Thu, Nov 09, 2023 at 10:12:06PM +0700, Robert Elz wrote:
>     Date:        Thu, 9 Nov 2023 14:21:35 +0100
>     From:        Mike Jonkmans <bashbug@jonkmans.nl>
>     Message-ID:  <20231109132135.GA208484@jonkmans.nl>
> 
>   | If I am not mistaken, for POSIX compliance, both /bin and /usr/bin have
>   | to be in PATH (see quote from Robert). 
> 
> No, I didn't say that, there are no particular required directory
> names, just that PATH needs to include whatever directories contain
> all the standard utilities ... getconf() returns that path.
> 
> I used those names just as an example.

Ah, that is clear then.
On Ubuntu 22.04 `getconf path' returns /bin:/usr/bin
and these are symlinked.

-- 
Regards, Mike Jonkmans



reply via email to

[Prev in Thread] Current Thread [Next in Thread]