Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Feb 1998 05:09:55 -0500 (EST)
From:      "Joe \"Marcus\" Clarke" <marcus@miami.edu>
To:        "Matthew D. Fuller" <fullermd@futuresouth.com>
Cc:        laszlo vagner <kf7nn@mutsgo.dyn.ml.org>, Greg Lehey <grog@lemis.com>, questions@FreeBSD.ORG
Subject:   Re: rehash missing
Message-ID:  <Pine.OSF.3.96.980201050915.1311B-100000@jaguar.ir.miami.edu>
In-Reply-To: <Pine.BSF.3.96.980201034222.21493B-100000@shell.futuresouth.com>

next in thread | previous in thread | raw e-mail | index | archive | help
A quick way to find out if a command is built into the shell or not, is
to run 'which <command>'.  It will tell you right waway.

Joe Clarke

On Sun, 1 Feb 1998, Matthew D. Fuller wrote:

> On Sat, 31 Jan 1998, laszlo vagner wrote:
> 
> > Doooh!..
> > 
> > ok so i am dumb.....
> I wouldn't go that far...
> 
> > i didnt realize rehash was part of the shell
> > 
> > i did a "csh" and tried "rehash" it works now!
> > 
> > actually it always worked if you use the right shell  ha!
> > 
> > So how do you know what commands are in each shell??
> Well, when you read the man page for that command, if it slams you into
> the manpage for a shell, then it's a shell builtin.
> But sometimes you have to be sneaky.
> For instance, I had this trype of problem a month or so ago.
> I was trying to nice out some processes, and I couldn't.  What I didn't
> know was that, besides the 'nice' binary command, there's a 'nice' builtin
> to tcsh (which I use), which has a completely different argument format.
> So, I s'pose all you can do is trial and error.
> 
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> |       FreeBSD; the way computers were meant to be       |
> * "The only reason I'm burning my candle at both ends, is *
> | that I haven't figured out how to light the middle yet."|
> *    fullermd@futuresouth.com      :-}  MAtthew Fuller    *
> |      http://keystone.westminster.edu/~fullermd          |
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> 
> 
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.96.980201050915.1311B-100000>