How Do I List Top 10 Files in Linux?
Contents How Do I View Top 10 Files in Linux? Steps to Find Largest Directories in Linux Du Command: Estimate File Space Usage. Sort Command: Sort Lines of...
Contents
How do I view top 10 files in Linux?
Steps to find Largest Directories in Linux
- du command : Estimate file space usage.
- sort command : Sort lines of text files or given input data.
- head command : Output the first part of files i.e. to display first 10 largest file.
- find command : Search file.
Must Read
How do I list the first 10 files in Linux?
The ls command even has options for that. To list files on as few lines as possible, you can use –format=comma to separate file names with commas as in this command: $ ls –format=comma 1, 10, 11, 12, 124, 13, 14, 15, 16pgs-landscape.