Đom' Đóm Nhỏ'
New member
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.
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.