Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.os.linux.misc Subject: Re: Path and/or alias finding Date: Wed, 31 Jul 2024 07:17:37 -0000 (UTC) Organization: A noiseless patient Spider Lines: 10 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 31 Jul 2024 09:17:37 +0200 (CEST) Injection-Info: dont-email.me; posting-host="d34cd722eff3f68b299d698fd0d5419c"; logging-data="1574434"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jdNCsaLjp32yFaB3pRdNr" User-Agent: Pan/0.159 (Vovchansk; ) Cancel-Lock: sha1:afF1O5JAitUULNRPC49+osEvlKI= Bytes: 1414 On Fri, 14 Jun 2024 18:50:02 +0000, Robert Heller wrote: > marchhare% which dir > dir: aliased to ls -F -C > marchhare% echo $SHELL > /bin/tcsh I don’t think it’s specified by POSIX. bash has the “type” builtin which, being builtin, can report on whether a given command is itself a builtin or alias or function or an external executable.