[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What can affect whether a comamnd is found in PATH?
From: |
Chet Ramey |
Subject: |
Re: What can affect whether a comamnd is found in PATH? |
Date: |
Thu, 24 Jun 2021 10:13:18 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 6/24/21 9:19 AM, Jeffrey Walton wrote:
Use 'command -v' to locate a command, not 'type' or 'which' or other
random things you find on Stack Overflow.
This is a bash mailing list, so the `type' builtin works fine.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/