From owner-freebsd-questions Sun Feb 1 01:45:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA14657 for questions-outgoing; Sun, 1 Feb 1998 01:45:05 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from shell.futuresouth.com (shell.futuresouth.com [207.141.254.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA14650 for ; Sun, 1 Feb 1998 01:45:01 -0800 (PST) (envelope-from fullermd@futuresouth.com) Received: from shell.futuresouth.com (mail.futuresouth.com [207.141.254.21]) by shell.futuresouth.com (8.8.8/8.8.8) with SMTP id DAA23270; Sun, 1 Feb 1998 03:44:40 -0600 (CST) Date: Sun, 1 Feb 1998 03:44:40 -0600 (CST) From: "Matthew D. Fuller" To: laszlo vagner cc: Greg Lehey , questions@FreeBSD.ORG Subject: Re: rehash missing In-Reply-To: <199802010533.XAA01656@mutsgo.dyn.ml.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" 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 | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*