How do I view a directory in Unix?

Đinh Yến

New member
How do I view a directory in Unix?
Answer
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. You can use the find command too.
 

Tìm kiếm

Back
Top