Re: dir /s *.* equivalent for unix.
On Tue, Jul 07, 1998 at 04:19:36AM +0200, 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.
Have you tryied looking at the HOWTO dir? I mean, if you installed
doc-linux-text package you have the HOWTO's in:
/usr/doc/HOWTO/
So you can read some of them. Of special interest here is the:
DOS-to-Linux-HOWTO.gz, which has a description aimed at we ex-dos
users, and you can read it with:
zless /usr/doc/HOWTO/DOS-to-Linux-HOWTO.gz
zmore /usr/doc/HOWTO/DOS-to-Linux-HOWTO.gz
HTH,
Roberto Ruiz
--
Proudly running Debian Linux! Linux vs. Windows is a no-Win situation....
--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: