How do I list filenames only in Linux?

How do I list filenames only in Linux?
Answer
12. How to make ls display only filenames and file sizes in output. If you want the ls command output to only contain file/directory names and their respective sizes, then you can do that using
the -h option in combination with -l/-s command line option.
 

Tìm kiếm

Back
Top