Logo Background

Unix Find And Grep Command

  • If you want to find for a file name that consist the strings “description” in Unix, you can refer the command as below.

    Find Grep Unix Command

    find . -exec grep "description" '{}' \; -print

    This find command will return the file name that contains the strings “description” in file

Leave a Comment