RE: listing a huge amount of file on one file system

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

 




> long waits while trying to list a directory with a huge amount of files in it?  
 
By default, `ls` and `ls -l` will try to sort the entries, which could be very time (and memory) consuming especially with the number of files you said you have.

Try using `ls -f` or `ls -fl` which will not sort the entries.  Further information is available on the LS(1) man page.
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux