The Baeldung logo
  • The Baeldung LogoLinux Sublogo
  • Start Here
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • About Baeldung

      About Baeldung.

Files » find

Files are the basic building block for everything in Linux. Learn about some basics of working with files including viewing, searching, and editing.

  • x find (71)
  • awk (69)
  • sed (62)
  • grep (52)
  • vim (37)
  • ls (27)
  • cat (26)
  • rsync (20)
  • vi (18)
  • tar (16)
  • tr (15)
  • file (15)
  • xargs (13)
  • cp (13)
  • head (13)
  • sort (12)
  • bash (11)
  • chmod (11)
  • diff (11)
  • echo (11)
  • tail (11)
  • perl (10)
  • ffmpeg (10)
  • rm (10)
  • mv (10)
  • pdf (9)
  • cut (9)
  • gzip (9)
  • tree (9)
  • wc (8)
  • less (8)
  • printf (7)
  • readlink (7)
  • touch (7)
  • copy-edit (7)
  • stat (6)
  • uniq (6)
  • tee (6)
  • ln (5)
  • rename (5)
  • comm (5)
  • paste (5)
  • regex (4)
  • Shell (4)
  • symlink (4)
  • dd (4)
  • chown (4)
  • du (4)
  • unzip (4)
  • lsof (4)
  • Docker (4)
  • truncate (4)
  • mkdir (4)
  • reference (4)
  • install (3)
  • mount (3)
  • Python (3)
  • systemd (3)
  • more (3)
  • apt (3)
  • 7z (3)
  • curl (3)
  • scp (3)
  • basename (3)
  • Globbing (3)
  • realpath (3)
  • convert (3)
  • XML (3)
  • xmllint (3)
  • split (3)
  • ImageMagick (3)

>> How to Sort the Files in a Directory Recursively Based on the Last Modified Date

>> Copying Files With Different Specific Extensions Using the find Command

>> How to cat the Contents of Files Found Using find Into a Single File

>> Find Binary Files in a Directory

>> How to Auto Delete Files Older Than N Days

>> How to Find Files with Non-Printable and Non-ASCII Characters in Their Names

>> Using find to Get the Number of Occurrences of Text Patterns and Files

>> Copy Files Based on a Condition

>> Finding Duplicate Files With the Same Name

>> How to List Files Not Matching a Given String in the Filename

>> How to Get Octal File Permissions From the Command Line

>> Flattening a Nested Directory in Linux

>> How to Rename Multiple Files in Linux by Removing the Extension

>> How to Find Files by the Length of the Filename

>> How to Setup Search Indexing for an Entire Linux System

>> Breadth-First Search in a Directory

>> How to Find All Files Containing a Specific Text Pattern

>> Finding my.cnf From the Command Line

>> Deleting Files Based on Their Sizes

>> Copying Files Based on Modification Date in Linux

>> Exclusion of a Specific Directory While Using ls Command

>> Returning Filenames Without Extension Using find

>> How to Sum Up the Size of Files Listed

>> Find Statistics on File Types Recursively in a Directory

>> Comparing Directory Structure Without Comparing Files

>> Fixing File Permissions in a Directory Recursively

>> How to Delete Files With Names That Contain Non-printable Characters

>> List Only Non-Empty Files in Linux

>> Why Looping Over find’s Output Is a Bad Practice

>> Delete All Files in a Directory Except Some

>> Batch Converting Image Formats on Linux

>> How to grep Hidden Files and Directories

>> Find Files Lacking Certain Permissions

>> Get the Most Recent File in a Directory

>> Efficiently Delete a Large Directory in Linux

>> Concatenate Files With a Separator

>> Renaming All Folders and Files to Lowercase in Linux

>> Delete Zero-Byte Files in Linux

>> tar Files of Certain Types

>> Linux Find Command With Regular Expressions

>> How to Check if a File Type Exists in a Directory

>> Get the Full Path of a File in Linux

>> Diff a Directory for Only Files of a Specific Type

>> Count the Number of Directories in a Specific Directory

>> Finding Files by Name and Extension

>> Replacing Spaces from Filenames in Linux

>> Exclude Certain Paths With the find Command

>> How To Find Only Text Files in a Directory in Linux

>> Count All the Lines of Code in Directory

>> Delete Empty Files and Directories in Linux

>> Move All Files Except One

>> The “Argument List Too Long” Error in Linux Commands

>> List the Size of Each File and Directory, and Sort by Size in Linux

>> Find and Delete Files and Directories

>> Using grep on Files That Match Specific Criteria

>> Find Files Not Owned by a Specific User in Linux

>> Calculate an MD5 Checksum of a Directory in Linux

>> Using the find -exec Command Option

>> How to Append the Contents of Multiple Files Into One File

>> Recursive Search and Replace in Text Files

>> Recursively List All Files in a Directory Including Symlinks

>> Copy Directory Recursively, Excluding Some Subdirectories

>> How to Delete a File Whose Name Begins With “-“

>> How to Count the Number of Files in Linux

>> Print Linux Directory Structure as a Tree

>> Finding Duplicate Files in Unix

>> Guide to the Linux find Command

>> Linux Commands – Find Broken Symlinks

>> Copy a File to Multiple Directories on Linux

>> Linux Commands – Delete Files Older Than X

>> Find Files That Have Been Modified Recently in Linux

  • ↑ Back to Top
The Baeldung logo

Categories

  • Administration
  • Files
  • Filesystems
  • Installation
  • Networking
  • Processes
  • Scripting
  • Search
  • Security
  • Web

Series

  • Linux Administration
  • Linux Files
  • Linux Processes

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo