Re: how 'which'?

From: Lars Eighner (eighner_at_io.com)
Date: 11/30/03

  • Next message: Melvyn Sopacua: "Re: Weird display problem"
    Date: Sat, 29 Nov 2003 20:54:30 -0600 (CST)
    To: "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
    
    

    On Sat, 29 Nov 2003, Kevin D. Kinsey, DaleCo, S.P. wrote:

    > # which joe
    >
    > joe:
    >
    > #rehash
    >
    > #which joe
    >
    > joe: /usr/local/bin/joe
    >
    > You must rebuild the shell's list of executables
    > after an install, using 'rehash' (at least in /bin/csh
    > this is true....)

    Evident sh and bash use the real which command, which actually
    searches the path every time it is invoked. To bypass the
    builtin, give the actual path to which, which accorting
    to which which is /usr/bin/which .

    -- 
    Lars Eighner
    eighner@io.com -finger for geek code-
    http://www.io.com/~eighner/index.html
    8800 N IH35 APT 1191 AUSTIN TX 78753-5266
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Melvyn Sopacua: "Re: Weird display problem"

    Relevant Pages

    • Re: When presses ENTER on Edit BOX
      ... Rebuild All is the best and safest approach to the next build. ... the MessageBox without actually reading it, usually by clicking the "abort" button. ... change any resource name. ...
      (microsoft.public.vc.mfc)
    • Re: Small database recommendations ?
      ... Joe wrote: ... Rebuild the table if ... I'm not necessarily pushing FE, Access nor anything else - It was just a ... general example of what I had in mind. ...
      (comp.os.linux.misc)
    • Re: Colossus computer is operational...
      ... Michaelangelo decided to speak and posted: ... 14 years to rebuild!! ... wtwjgc (Joe) ...
      (uk.people.silversurfers)
    • Re: right mouse click
      ... Joe =o) ... It won't work with executables, but will work with most file types. ... What is the extension on the file you need to open with a different application? ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Mozilla Error
      ... On Mon, 2004-05-10 at 17:46, Bryan Cassidy wrote: ... Remove this then rebuild everything. ... Joe ... PGP Key: http://www.marcuscom.com/pgp.asc ...
      (freebsd-questions)