[LINUX] Command to list all files in order of file name

You can list all files in order of file name and file size with the following command.

ls -la $(find / -type f) | sort -k9

In file size order (descending order)

ls -la $(find / -type f) | sort -nr -k5

If only the top 10 in file size order (descending order)

ls -la $(find / -type f) | sort -nr -k5 | head -10

Recommended Posts

Command to list all files in order of file name
[Command] Command to get a list of files containing double-byte characters
[Linux] Command to get a list of commands executed in the past
Create a command to delete all temporary files generated in a specific folder
Summary of how to import files in Python 3
List of shortcut keys dedicated to all yourself
How to pass the execution result of a shell command in a list in Python
I want to see a list of WebDAV files in the Requests module
How to get a list of files in the same directory with python
[Python] Outputs all combinations of elements in the list
[Python] How to output the list values in order
2 ways to read all csv files in a folder
Sort files updated within the period specified by the find command in order of size
[Golang] Command to check the supported GOOS and GOARCH in a list (Check the supported platforms of the build)
Spit out a list of file name, last modified date and character code in python3
List of nodes in diagrams
I tried adding post-increment to CPython. List of all changes
Batch convert all xlsx files in the folder to CSV files
How to get a list of built-in exceptions in python
Summary of how to write .proto files used in gRPC
How to pass the execution result of a shell command in a list in Python (non-blocking version)
Output the key list included in S3 Bucket to a file
How to display a specified column of files in Linux (awk)
Process the contents of the file in order with a shell script
Python --Most elegant way to read lines of file into list
Try to get a list of breaking news threads in Python.
[Python] When you want to use all variables in another file
[python] Get the rank of the values in List in ascending / descending order
How to output the output result of the Linux man command to a file
Handling of JSON files in Python
In the python command python points to python3.8
The story of the "hole" in the file
Bring files in Windows to WSL
Memorandum (Add name only to people with the same surname in the list)
Replace the directory name and the file name in the directory together with a Linux command.
Use shutil to delete all folders with a small number of files
Memory-saving conversion of log data to sequential category features in chronological order
The file name was bad in Python and I was addicted to import
I want to leave an arbitrary command in the command history of Shell
Python script that outputs all records of Oracle table to CSV file
How to format a list of dictionaries (or instances) well in Python
I made a program to check the size of a file in Python
A command to specify a file with a specific name in a directory with find and mv, cp, or gzip it (linux)
Use of constraints file added in pip 7.1
Handling of character code of file in IronPython
Output tree structure of files in Python
[Linux] List of Linux commands used in practice
Display a list of alphabets in Python 3
Convert psd file to png in Python
Read all csv files in the folder
(Note) Template file search order in Django
Summary of built-in methods in Python list
[Bash] Redirection of multiple lines to multiple files
Summary of how to use Python list
Control files to build in Golang project
How to read CSV files in Pandas
Various ways to read the last line of a csv file in Python
Convert PDF of Chiba Prefecture Go To EAT member store list to CSV (command)
How to achieve something like a list of void * (or variant) in Go?
How to find out what kind of files are stored in S3 in Python
Handle CSV that contains the element you want to parse in the file name