coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make ls -l dir1 dir2 in the same order as dir1,2 are specified


From: L A Walsh
Subject: Re: make ls -l dir1 dir2 in the same order as dir1,2 are specified
Date: Sat, 27 Mar 2021 12:24:12 -0700
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

On 2021/03/26 14:03, Peng Yu wrote:
Hi,

When I try `ls -l dir1 dir2`, the order of dir1 and dir2 in the output
is not necessarily the same as the input. How to make it the same as
the input order? Thanks.
Use separate invocations of 'ls' to guarantee the order of output
of the arguments.

When you put more than one name on the command line, you will get
some type of sorted order or the order they appear on disk.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]