coreutils
[Top][All Lists]
Advanced

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

Re: Faster ls when there are thousands of files in a directory


From: Jim Meyering
Subject: Re: Faster ls when there are thousands of files in a directory
Date: Sat, 25 Jun 2011 15:42:40 +0200

Bob Proulx wrote:
> Jim Meyering wrote:
>> For minimal overhead ls, use only the -1U options.
>> I.e., type exactly this:
>>
>>     env ls -1U
>
> What benefit is provided by invoking through 'env' in that example
> without any environment modifications specified?  I am sure I am
> missing something and would enjoy the education.

Hi Bob,

Using "env" like that is the portable and shell-agnostic way to ensure
you run the program rather than an alias or shell function named "ls".



reply via email to

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