TIP: Click on subject to list as thread! ANSI
echo: linuxhelp
to: Randall Parker
from: Randall Parker
date: 2006-12-17 21:50:00
subject: Re: Recursive ls on book...?

MSGID: 1:379/45 70b0bbd7
 REPLY: 1:379/45 e06339dc
 TZUTC: -0500
 CHARSET: PC-8
From: Randall Parker 

I can do:

 > ls -R | grep bookmarks.html

That has two problems:

1) I do not get the full path. How to get the full path?

2) The error messages still show up. I guess ls sends  out to an error output
rather than standard output. How to suppress that?

Excerpt below:

bookmarks.html
ls: ./proc/tty/driver: Permission denied ls: ./root: Permission denied
ls: ./tmp/fr-wVQplX: Permission denied ls: ./tmp/gconfd-root: Permission denied
ls: ./tmp/orbit-root: Permission denied bookmarks.html
bookmarks.html


Randall Parker wrote:
> If I was in DOS I'd do:
>
> dir /s book*.*
>
> and it would find files with names like bookmarks.html.
>
> How to do that in the bash shell?
>
> ls -R book*.* doesn't find anything. But I'm not sure if that is because
> I'm not doing it correctly.

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 261/1 38 123/500 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.