How to find all files ending with .rb with Linux?
I am in a directory which contains more directories. What command can I use to get all files ending with .rb?
You could try
find . -type f -name \*.rb
Try this find . -type f -name '*.rb'.
For a more thorough explanation, get the 'Unix Power Tools' book.
This should help:
find . | grep *\.rb
This should do it
find . -name "*t^" -print