Reputation: 29
How to search particular types of files like .java,.class in a specific directory using unix command? I want list of all .java files in a directory
Upvotes: 0
Views: 51
Reputation: 279
find /path/to/directory/ -name "*.java" -print
This will list all the files ending .java from the specified path
Upvotes: 2