Re: Dumb Question: Installing new version of Kopete

From: Christopher McDevitt (theratpack91_at_yahoo.co.uk)
Date: 09/03/04

  • Next message: Andrey Andreev: "Re: Dumb Question: Installing new version of Kopete"
    Date: Fri, 03 Sep 2004 02:23:22 +0100
    To: fedora-list@redhat.com
    
    

    Scot L. Harris wrote:
    >
    > A couple of good commands to know are
    >
    > whereis commandname
    > locate commandname
    >
    > Both of these will help you find where a particular file is located.
    > whereis uses a database which is updated using updatedb command.
    >
    > locate searches your current users paths for the command.
    >
    > Check out the man page on both for more information.
    >

    I think you've got them mixed up.

    'Locate' uses a database to find any file while 'whereis' searches a
    hardcoded path for various files related to a program.

    which <command> tells you instantly where the binary (or symbolic link)
    of a program is. It is a shell builtin command that uses the current
    path like running any command does.

    Chris

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Andrey Andreev: "Re: Dumb Question: Installing new version of Kopete"

    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: 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)
    • Re: [SLE] Is there a "find file on system" command?
      ... [SLE] Is there a "find file on system" command? ... > which would search the system for a file name, regardless of its ...
      (SuSE)
    • 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)