I'd use Andrew's way if I needed to go more than one directory in. If all the files are in the top level directory I am in, ls is simpler.
Joined: May 30, 2007
Both if you a Big thanks for quick reply .I will definetly use both optiosn sugested by you.
I would like it more clear ,and let see if you cansugest some more accurate command
I have root directory emp and inside emp there are lots of sub-directories(depth could be from 1.........10+ level)
Now my exact reuirement is:
I need to list/find all shell scripts files( unfortunately those files have no extension like .sh,thse files contains .sh a ) under this top level directory i,e. emp .
In summary : List down those files having no extension and those files contains .sh in it.
author and jackaroo