Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

search a file in linux terminal

Annoying Alligator answered on April 1, 2020 Popularity 10/10 Helpfulness 5/10

Contents


More Related Answers

  • search for file in terminal
  • ubuntu : search & find files containing specific text string on linux
  • linux find any file linux
  • linux find files by name
  • linux search for line in file
  • how to find a file in linux
  • find a file linux
  • how to search in directory files in ubuntu
  • linux search file by name
  • linux search inside files
  • find file by name linux
  • find file by name linux
  • search file in ubuntu
  • find file content linux
  • find in files ubuntu
  • search filename linux
  • open files from terminal linux
  • how to open files from linux terminal
  • bash find in files
  • bash find file
  • bash File Search
  • find file location linux
  • how to locate a file in linux
  • find file in linux anywhere
  • get files with name linux

  • search a file in linux terminal

    1

    The find command allows you to search a specific file by its name. You can use the find command with -name option followed by the file name that you want to search.

    For example, to search a file named file1.txt in the /etc directory, run the following command:

    If you want to ignore the case during the file search, use the -i option as shown below:

    find /etc -type f -iname file1.txt

    You can use the following option if you want to search for a specific file type:

    f – regular file

    d – directory

    l – symbolic link

    c – character devices

    b – block devices  

    Popularity 10/10 Helpfulness 5/10 Language shell
    Link to this answer
    Share Copy Link
    Contributed on Mar 27 2023
    Annoying Alligator
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    1
    Popularity 10/10 Helpfulness 9/10 Language shell
    Source: Grepper
    Tags: find
    Link to this answer
    Share Copy Link
    Contributed on Oct 21 2022
    Wild Wolf
    0 Answers  Avg Quality 2/10

    2

    find file linux 

    Popularity 10/10 Helpfulness 6/10 Language shell
    Source: Grepper
    Tags: file
    Link to this answer
    Share Copy Link
    Contributed on Mar 07 2023
    Powerful Pig
    0 Answers  Avg Quality 2/10

    15
    Popularity 10/10 Helpfulness 5/10 Language shell
    Source: winaero.com
    Tags: file
    Link to this answer
    Share Copy Link
    Contributed on Apr 01 2020
    Emmanuel Mahuni
    0 Answers  Avg Quality 2/10

    0
    Popularity 9/10 Helpfulness 3/10 Language shell
    Source: Grepper
    Tags: linux linu
    Link to this answer
    Share Copy Link
    Contributed on Feb 14 2024
    Gorgeous Grebe
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.