Deutsch   English   Français   Italiano  
<qjmujkx5ae.ln2@Telcontar.valinor>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: "Carlos E.R." <robin_listas@es.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: Path and/or alias finding
Date: Fri, 14 Jun 2024 22:43:06 +0200
Lines: 37
Message-ID: <qjmujkx5ae.ln2@Telcontar.valinor>
References: <v44em0$3i8j8$1@dont-email.me> <v4hkem$2u4k0$1@dont-email.me>
 <v4hkle$2ta7j$1@dont-email.me> <g1cujkxqt4.ln2@Telcontar.valinor>
 <m1qdnct0DMZHDfH7nZ2dnZfqn_idnZ2d@giganews.com>
 <v4i8ul$2ta7j$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 7xm9n59xlInsi7OEDBf3gA/lYHtDMNWJiyuNYjU0Tj5+rUM+5y
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:jsuJB9JeZbLqj8ZfHJuCxuHwCPA= sha256:cl/QAim00Nx3gxuTAeF/yOgPHqFAChs2ck2ZttqnCf0=
User-Agent: Mozilla Thunderbird
Content-Language: es-ES, en-CA
In-Reply-To: <v4i8ul$2ta7j$2@dont-email.me>
Bytes: 1854

On 2024-06-14 22:24, Lew Pitcher wrote:
> On Fri, 14 Jun 2024 18:50:02 +0000, Robert Heller wrote:
> 
>> At Fri, 14 Jun 2024 19:42:40 +0200 "Carlos E.R." <robin_listas@es.invalid> wrote:

....

>>> What command would show what exact incantation is used? Ie, what
>>> path/binary, or what alias?
>>>
>>> which tarx?
> [snip]
>>> But it is an alias in my system
>>
>> This depends on the shell...
>>
>> marchhare% which dir
>> dir:     aliased to ls -F -C
>> marchhare% echo $SHELL
>> /bin/tcsh
> 
> 16:22:25 $ echo $SHELL
> /bin/bash
> 
> 16:22:28 $ alias
> alias tarx='tar -xf'

Yes, this confirms that it is an alias, but the question was rather how 
to find that a particular incantation by the user runs what.

is it (tarx or whatever) a command in some path, or is it an alias? 
"type" does that.


-- 
Cheers, Carlos.