Deutsch   English   Français   Italiano  
<v4i8ul$2ta7j$2@dont-email.me>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups: comp.os.linux.misc
Subject: Re: Path and/or alias finding
Date: Fri, 14 Jun 2024 20:24:53 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 53
Message-ID: <v4i8ul$2ta7j$2@dont-email.me>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 14 Jun 2024 22:24:54 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a8a93098d8f8fb160cfc3f5a78b3faa2";
	logging-data="3057907"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+s2rODGg6GyYad7kZip4cr4InAszYisRQ="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
 git://git.gnome.org/pan2)
Cancel-Lock: sha1:SddnwD37AJ8aAzNIzfLlGMYBw/g=
Bytes: 2545

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:
> 
>> 
>> 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?
[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'

bash(1) says 
  "Aliases are created and listed with the alias command,
   and removed with the unalias command."

-- 
Lew Pitcher
"In Skills We Trust"