Note: The Listed platform will permanently shut down December 31, 2026. Your data published on Listed will still be available in your personal Standard Notes account. Learn more

Linux listing large number of files

In dealing with large amounts of data even the simplest things sometimes becomes a problem - listing files for example. To list a few million files on the command line, my usual go to list command ls -lrt simply took too long. This was because it was also sorting before printing the files. ls -1f simply prints the files and is much faster.

This stackoverflow post has more options on how to do this effectively.

tags: #linux


You'll only receive email when they publish something new.

More from aaduhuli
All posts