Re: Command which gives the location of a command

From: MARLON BORBA (mborba_at_TRF3.GOV.BR)
Date: 11/17/05

  • Next message: Lamar Saxon: "Re: Command which gives the location of a command"
    Date:         Thu, 17 Nov 2005 19:58:41 -0200
    To: aix-l@Princeton.EDU
    
    

    Use the whereis utility:

    $ whereis ls
    ls: /usr/bin/ls
    $ whereis basename
    basename: /usr/bin/basename
    $

    Abraços,
    Marlon Borba, CISSP.

    --
    GTER 20/GTS 02.05 - Participe!
    http://eng.registro.br/gter20/prog.html
    --
    >>> watkins@MORNINGSIDE.EDU 11/17/05 7:43 PM >>>
    I'm running AIX 4.3.3 on an RS6000 - model F50.
    What is the command you use to find the location
    of a command?
    i.e.  command_to_use command_to_find_location
    [...]
    

  • Next message: Lamar Saxon: "Re: Command which gives the location of a command"

    Relevant Pages

    • Re: [SLE] suse-9.1 gnome-2.6
      ... On Sun, 2004-05-30 at 10:41, Anders Johansson wrote: ... > locate is your friend ... I had tried to find it using the 'whereis' command to no ...
      (SuSE)
    • Re: Tip for speedier Firefox
      ... Godzilla wrote: ... A whereis from the command line pointed ... but loading ...
      (alt.os.linux.suse)
    • Re: Dumb Question: Installing new version of Kopete
      ... Scot L. Harris wrote: ... > whereis uses a database which is updated using updatedb command. ...
      (Fedora)
    • Re: Firefox for Fedora
      ... With Thomas' change back in place, log out, log in, and then see what the "whereis" command tells you about where Firefox is being found by typing: ...
      (Fedora)
    • make etc broken
      ... i was clearing out some files in /usr and accidentally did something and now ... command such as: clear, make, whereis no longer work ... ...
      (freebsd-questions)