Re: dir /s *.* equivalent for unix.
On Mon, 06 Jul 1998 20:19:36 -0700, Christopher Barry wrote:
>I just keeping getting all these lovely questions for you. At a console,
>if I want to search for a file or any files with a certain extension in
>the current directory and all sub directories and list them, what's the
>best way to do this? The equivalent in DOS would be "dir /s *.whatever"
>but this doesn't work with ls like "ls -R *.deb", for instance. I can do
>"ls -R | more" and then use more's search ability but this is getting
>tiring. Man page isn't too helpful either.
ls -R | grep file_to_find
OR...
find . -name file_to_find
--
Steve C. Lamb | Opinions expressed by me are not my
http://www.calweb.com/~morpheus | employer's. They hired me for my
ICQ: 5107343 | skills and labor, not my opinions!
---------------------------------------+-------------------------------------
--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: