How can I find all *.js file in directory recursively in Linux? [closed]

find /abs/path/ -name '*.js'

Edit: As Brian points out, add -type f if you want only plain files, and not directories, links, etc.


Use find on the command line:

find /my/directory -name '*.js'

If you just want the list, then you should ask here: http://unix.stackexchange.com

The answer is: cd / && find -name *.js

If you want to implement this, you have to specify the language.