HP9000-L Archives

May 2001

HP9000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Landin, Mark" <[log in to unmask]>
Reply To:
Landin, Mark
Date:
Mon, 21 May 2001 12:33:20 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
>
> Also in the category of 'ls' trivia, there appears to be no
> option (that I
> can find) to prevent ls from sorting the listing by *some*
> key, so that
> there's no way to use ls to display the "natural" directory
> order (i.e. the
> order of entries within the directory itself) which will be
> the order that
> some program (like 'tar' and many backup programs I believe)
> will actually
> process the files in the directory.

Those may be done in inode order, in which case

$ ls -i | sort -n

will do the trick.

ATOM RSS1 RSS2