About 9,120,000 results
Open links in new tab
  1. Difference between locate, which and find Command in Linux

    Oct 17, 2024 · The find command is a more aggressive search tool than locate or which. Find is able to recursively search any given path for various files. Using the file command we can search for files by name, owner, group, permissions, type, …

  2. Locate vs find: What is the difference - LinuxConfig

    Apr 6, 2022 · In this tutorial, you learned about the difference between the find and locate commands on a Linux system. We went over the pros and cons of each command, as well as the usage examples so you know exactly when and how to use the commands in any given scenario.

  3. What is the difference between 'locate' and 'find' in Linux?

    Nov 3, 2015 · Both the locate and find commands will find a file, but they work in quite different ways. locate will work in an offline mode: For a simple explanation, the file indexing database in Unix system called slocate will list the locations of all files which ship with the Unix system.

  4. locate vs find: usage, pros and cons of each other - Unix & Linux

    In Linux and Unix systems there are two common search commands: locate and find. What are the pros and cons of each? When one have benefits over the other? See e.g. superuser.com/questions/199472/… locate(1) has only one big advantage over find(1): speed. find(1) is primordial, going back to the very first version of AT&T Unix.

  5. Using find, locate, which and whereis Commands to Search for Files in Linux

    Feb 19, 2020 · There are a few ways you can find and locate files from the terminal in Linux, and find, locate, which and whereis are some of the commonly used commands to do so. Let us take a look at these four search commands, their similarities and differences.

  6. Difference among "whereis " , "locate " and "find"command

    Oct 3, 2016 · Big difference is that find searches real files recursively down a given directory, while locate searches a database without requiring specific directory. Thus, if you have saved a file before updating database, find will find it , but locate won't.

  7. Demystifying the Differences Between the Powerful locate and find ...

    Dec 27, 2023 · The key difference between locate and find is: locate searches a database of filenames and paths that is indexed periodically. This enables extremely fast searches by name.

  8. Locate Versus Find in Linux: What’s the Difference?

    Aug 21, 2024 · Understanding the nuances between “locate” and “find” not only streamlines your Linux workflow but also empowers you to perform more efficient searches. Whether you’re a seasoned sysadmin or a Linux newbie, mastering these commands is a valuable skill that can save you time and frustration.

  9. Difference between find and locate command in Linux

    Both the command “find” and “locate” are handy tools to search for files and directories in Linux. With that said, locate is bit fast than find. But it needs to keep its database updated to provide you with the most accurate results.

  10. Use Find and Locate to search for files in Linux - Solutions …

    The first one is the find command, which can be found in any Linux distribution, and the second one is locate, which needs an installation. The find command is part of Linux by default. It offers multiple parameters to refine your search. The simplest searching command is to search by name where you are located:

Refresh