Insider Tips:F ind and Locate

Lost and Found

Author(s):

Modern computers with their multiple Gigabyte hard disks store thousands of files. A lost file can cause a lot of work,and it can also pose a security risk. Fortunately,Linux has some versatile tools for finding those “lost files.”

If you are looking for files in Linux, the command line is your best option for quick and reliable results. GUIs such as KDE (Figure 1) typically lack comparable functionality, flexibility, and speed. The most important command for file searching is find. Without any flags specified, the tool will just find all the files below the current directory. If you want to search another directory, simply specify the directory name as the first argument. For example, find /home will output a list of the files and directories below /home.

Read full article as PDF:

Admin_Workshop_Finding_Files.pdf (207.28 kB)

Related content

  • File Management

    We give you an overview of commands for moving, editing, compressing, and generally manipulating files.

  • Command Line: Data Flow

    Working in the shell has many benefits. Pipelines, redirectors, and chains of commands give users almost infinite options.

  • File Management

    We give you an overview of commands for moving, editing, compressing, and generally manipulating files.

  • Recoll

    Whether you’re looking for a letter to the Internal Revenue Service or an email from an online trader, the Recoll desktop search machine will help you find it with just a few mouse clicks.

  • Perl: Desktop Searches

    On a big, busy Linux desktop, it is too easy for files to get lost. We’ll show you a Perl script that creates a MySQL database to find files in next to no time.

comments powered by Disqus

Direct Download

Read full article as PDF:

Admin_Workshop_Finding_Files.pdf (207.28 kB)

News