Path: ...!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Carlos E.R." Newsgroups: comp.os.linux.misc Subject: Path and/or alias finding Date: Fri, 14 Jun 2024 19:42:40 +0200 Lines: 42 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net kXTgRenSbg4S5zJasJ2HPAY+jx0iFcrz3NYAqUumpsqHrBv5Gk X-Orig-Path: Telcontar.valinor!not-for-mail Cancel-Lock: sha1:kanES0Th/Y/4ARS/QjoDaeGa0oY= sha256:60mZWub6cLXLqkGjcqgJg1tTRvBUdSJCreCOyxusQ0A= User-Agent: Mozilla Thunderbird Content-Language: es-ES, en-CA In-Reply-To: Bytes: 1918 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.