Deutsch   English   Français   Italiano  
<m1qdnct0DMZHDfH7nZ2dnZfqn_idnZ2d@giganews.com>

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

Path: ...!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 14 Jun 2024 18:50:02 +0000
MIME-Version: 1.0
From: Robert Heller <heller@deepsoft.com>
Organization: Deepwoods Software
X-Newsreader: TkNews 3.0 (1.2.17)
Subject: Re: Path and/or alias finding
In-Reply-To: <g1cujkxqt4.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>
Newsgroups: comp.os.linux.misc
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
              charset="us-ascii"
Originator: heller@sharky4.deepsoft.com
Message-ID: <m1qdnct0DMZHDfH7nZ2dnZfqn_idnZ2d@giganews.com>
Date: Fri, 14 Jun 2024 18:50:02 +0000
Lines: 57
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-03uCe6o3fr+8gBGIePk/elXpUBOVNBr7OuAF/nLLbMVGpYzSNpbOnafC/LXoLjAmxFWqQQ4RvIfzyCP!2gbwxhrH2drHplKNzpGCGc8JFD2Q9jLWVTXmMemfZKWDBZWaDfUqXZN2xiLp59D5K2Tgehh3wVME!Y6Y=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Bytes: 2896

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?
> 
> 
> 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

This depends on the shell...

marchhare% which dir
dir:     aliased to ls -F -C
marchhare% echo $SHELL
/bin/tcsh

> 
> 
> 

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller@deepsoft.com       -- Webhosting Services