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

Need Your Help

AngularJs dynamic name for a form inside ng-repeat


How do I name a form inside ng-repeat with a dynamic name?

onSearchRequested() no longer works in Android 4.x+?

android android-4.0-ice-cream-sandwich

My app intercepts the search button to deliver something more relevant to the app itself: