TIP: Click on subject to list as thread! ANSI
echo: linuxhelp
to: Mike N.
from: Adam
date: 2006-12-18 21:53:00
subject: Re: Recursive ls on book...?

MSGID: 1:379/45 85798996
 REPLY: 1:379/45 4bc58146
 TZUTC: -0500
 CHARSET: PC-8
From: Adam <""4thwormcastfromthemolehill\"{at}the field.near
the bridge">

Mike N. wrote:
> On Sun, 17 Dec 2006 21:44:18 -0800, Randall Parker
>

> wrote:
>
>> ls -R book*.* doesn't find anything. But I'm not sure if that is because
>> I'm not doing it correctly.
>
>    This is the one part I still haven't figured out - how to do a simple
> dir /s.
>
>    find is supposed to do stuff like this but it doesn't seem to work
> properly either unless you start at the root.
>
>   I've been doing an ls -R | less on the /usr, /var, and /etc tree to make
> the commands run faster, then searching the output in 'less', but it's
> still the long way.
>
>    *ix gurus - any tips?

ls -laR?

wrt Randall's prob

ls book* -R

or

locate book

or

find . -name book* -print

find will find you directories starting with "book

find ./ -type d -name "book*"

I've always tended to avoid winDos cli coz of it's paucity so for me it's the
opposite in that I tend to think how the f*ck do I do this in windos.

but if you & randall have probs I suggest you use alias in a text file/bashrc
etc so you can simply type dir /S or whatever. I tend to alias "shutdown -h
now" to "die".


Adam

--- 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™.