About 24,700,000 results
Open links in new tab
  1. 6 ways to Find Files By Name in Linux - howtouselinux

    Sep 26, 2024 · To find files with a specific name in Linux, you can use the find command with the -name option. Here’s the basic syntax: find [path] -name [filename] Where path is the directory to search, and filename is the name of the file you want to find.

    Missing:

    • Terminal

    Must include:

  2. Find Command in Linux (Find Files and Directories)

    Nov 19, 2020 · To find a file by its name, use the -name option followed by the name of the file you are searching for. For example, to search for a file named document.pdf in the /home/linuxize directory, you would use the following command: To run a case-insensitive search, change the -name option with -iname:

  3. command to find files by searching only part of their names?

    May 8, 2015 · To search your home directory, use ~, or the full name of your home directory. (The shell expands ~ to your home directory's fully qualified path.) If you want to search case-insensitively, so files containing BAT, bAt, and so forth are matched, use the -iname test instead of the -name test: I've noticed all your files end in .c.

  4. How to Find a File in Linux | Find Command - GeeksforGeeks

    Apr 11, 2025 · Find files by name, type, or size. Search based on modification time (e.g., files edited last week). Locate files with specific permissions or content. Automate tasks like deleting or executing commands on found files. Syntax of Find Command in Linux : Here is the syntax for the find command in Linux:

  5. linux - How can I recursively find all files in current and …

    May 5, 2011 · You could use "gpio*" to find all files who's names start with gpio, or just "gpio1" to find all files named gpio1. note that the "foo*" is in quotes so the shell doesn't expand it before passing it to find. if you just did find . foo*, the foo* would be expanded AND THEN passed to find.

  6. directory - Find a file by name using command-line - Ask Ubuntu

    Try find . -name "*file_name*" where you can change '.'(look into the Current Directory) to '/'(look into the entire system) or '~/'(look into the Home Directory). where you can change "-name" to "-iname" if you want no case sensitive.

  7. linux - Find all files with name containing string - Stack Overflow

    How can I return a list of files which contain a string in the filename? For example, if 2012-06-04-touch-multiple-files-in-linux.markdown was a file in the current directory. How could I return this file and others containing the string touch? Using a command such as find '/touch/'

    Missing:

    • Terminal

    Must include:

  8. Linux find Command: How to Search Files by Name

    Dec 22, 2024 · In this tutorial, we’ll walk through how to use the find command to search for files by name and prepare them for archiving. cd /home/taras/public_html: Navigate to the target directory. find .: Search in the current directory (.) and all subdirectories. …

  9. How to Find Files by Name or Extension in Linux - Tecmint

    Aug 7, 2024 · To find files with different extensions, you can use the -name option combined with the -o (OR) operator, which allows you to specify multiple patterns to match different file types. Let’s go through some examples to illustrate how this works.

  10. How to Search Files Effectively in the Linux Terminal

    Feb 9, 2023 · By passing the name of the file using the -name flag, the find command searches and returns the location of the file. Terminal command to search a file by name. But remember the -name flag performs a case-sensitive search. If you are looking to do a case-insensitive search, you can use the -iname flag instead.

  11. Some results have been removed
Refresh