Re: Command which gives the location of a command
From: Green, Simon (Simon.Green_at_EU.ALTRIA.COM)
Date: 11/18/05
- Previous message: Green, Simon: "Re: Where can I find the hardware info"
- Maybe in reply to: Denny Watkins: "Command which gives the location of a command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 18 Nov 2005 10:30:45 +0100 To: aix-l@Princeton.EDU
Or "type".
It's just an alias of "whence -v", but it's two less characters, so much
more efficient. :-)
-- Simon Green Altria ITSC Europe s.a.r.l. AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX N.B. Unsolicited email from vendors will not be appreciated. Please post all follow-ups to the list. -----Original Message----- From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of Yves Dorfsman Sent: 18 November 2005 01:51 To: aix-l@Princeton.EDU Subject: Re: Command which gives the location of a command On Thu, 17 Nov 2005, Lamar Saxon wrote: > whence whence is a korn shell built in. Both whence and which will look in your current $PATH. Whence has the advantage to tell you that an alias is an alias (which stays silent). I *think* (no access to an AIX box right now) that whereis looks in specific paths, rather than just your $PATH Yves. ---- Yves Dorfsman yves@zioup.com http://www.cuug.ab.ca/dorfsmay http://www.SollerS.ca
- Previous message: Green, Simon: "Re: Where can I find the hardware info"
- Maybe in reply to: Denny Watkins: "Command which gives the location of a command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|