Path: ...!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Carlos E.R." Newsgroups: comp.os.linux.misc Subject: Re: Path and/or alias finding Date: Fri, 14 Jun 2024 22:02:01 +0200 Lines: 39 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net Rugb7wpzFTBdpRm8j/Vp7QeuoYaVfqEN2maQ19N1MaJw1J002j X-Orig-Path: Telcontar.valinor!not-for-mail Cancel-Lock: sha1:uDni3J+68lHZ8ks9vknHJHcLUwI= sha256:GcXV1D73ZQgIM1SVCll5TvGWcNliNtdM8LyPxSieMDA= User-Agent: Mozilla Thunderbird Content-Language: es-ES, en-CA In-Reply-To: Bytes: 1737 On 2024-06-14 21:30, John-Paul Stewart wrote: > On 2024-06-14 1:42 p.m., Carlos E.R. wrote: >> >> What command would show what exact incantation is used? Ie, what >> path/binary, or what alias? >> >> which tarx? > > If you're using Bash as your shell, the 'type' builtin command will tell > you. E.g., > > $ type ls > ls is aliased to `ls --color=auto' > Ah, yes. I knew about "type", but I don't use it. I will now. cer@Telcontar:~> type l l is aliased to `ls -alF' cer@Telcontar:~> type ls ls is aliased to `_ls' cer@Telcontar:~> type _ls _ls is a function _ls () { local IFS=' '; command ls $LS_OPTIONS ${1+"$@"} } cer@Telcontar:~> cer@Telcontar:~> echo $LS_OPTIONS -N --color=tty -T 0 cer@Telcontar:~> -- Cheers, Carlos.