Sujet : Path and/or alias finding
De : robin_listas (at) *nospam* es.invalid (Carlos E.R.)
Groupes : comp.os.linux.miscDate : 14. Jun 2024, 19:42:40
Autres entêtes
Message-ID : <g1cujkxqt4.ln2@Telcontar.valinor>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 2024-06-14 16:38, Lew Pitcher wrote:
On Fri, 14 Jun 2024 14:35:02 +0000, db wrote:
On Sun, 9 Jun 2024 14:36:49 -0000 (UTC), db wrote:
>
I like to make life easy so I wrote a one-line script for extracting the
contents of a tar file. I copied it into the /bin directory so I can run
it from anywhere.
[snip]
Why doesn't it work from bin/ ?
>
Red face time.
I just found out that I have an alias called tarx in
my .bashrc. In fact, someone asked me about this and
I answered in the negative, without checking. My apologies!
Apology accepted. :-)
Glad you found (and presumably fixed) your problem.
What command would show what exact incantation is used? Ie, what path/binary, or what alias?
which tarx?
For instance:
cer@Telcontar:~> which l
which: no l in (/home/cer/bin:/usr/local/bin:/usr/bin:/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/sbin:/usr/sbin)
cer@Telcontar:~>
But it is an alias in my system
-- Cheers, Carlos.