[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Directories
- From: Bob McClure Jr <robertmcclure earthlink net>
- To: redhat-install-list redhat com
- Subject: Re: Directories
- Date: Mon, 9 Feb 2004 14:49:31 -0600
On Mon, Feb 09, 2004 at 03:25:24PM -0500, Ken Scott wrote:
> On Mon, 2004-02-09 at 14:20, Rick Stevens wrote:
> > Paul Lewis wrote:
> > > On 2004.02.09 04:31 Ken M Sexton wrote:
> > >
> > >> Greetings,
> > >>
> > >> For an inexperienced user the directory structure of Linux is not
> > >> self-evident. Is there a command or a tool which will list the full
> > >> directory tree (directories with sub-directories, even down to files
> > >> therein if possible)?
> > >>
> > >> If not, can someone please tell me where the KMail mail boxes are
> > >> located?
> > >
> > >
> > > Try ls -R >listing.txt
> >
> > Uh, that will only work for the current directory and it's children
> > and it may puke because ls may not be able to sort the files. It
> > also won't show any files starting with ".". The better form would
> > be "ls -Ra >listing.txt"
> >
> > > or perhaps man ls at the command prompt might give you and idea of what
> > > you want.
> >
> > "find / -print >fulldirlisting.txt" will give you a listing of
> > EVERYTHING on the system. Keep in mind that the list will be in inode
> > order, not alphabetically sorted as "ls" would give you. You have been
> > warned!
> > ----------------------------------------------------------------------
> > - Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
> > - VitalStream, Inc. http://www.vitalstream.com -
> > - -
> > - To iterate is human, to recurse, divine. -
> > ----------------------------------------------------------------------
> >
> >
> I sometimes use the handy utility "tree" which produces a ASCII based
> hierarchial output of directory contents (similar to the old DOS TREE
> command. I can't recall if it came with Red Hat . I believe I might
> have had to download/install it.
> Good Luck
>
> Ken Scott
It is in the "tree" RPM on CD-3 of RH 9.
Cheers,
--
Bob McClure, Jr. Bobcat Open Systems, Inc.
robertmcclure earthlink net http://www.bobcatos.com
What did Noah do with the woodpeckers?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]