How do I view only files in Linux?

How do I view only files in Linux?
Answer
How can I list directories only in Linux? Linux or UNIX-like system use
the ls command to list files and directories. However, ls does not have an option to list only directories. You can use combination of ls command, find command, and grep command to list directory names only.
 

Tìm kiếm

Back
Top