Nguyễn Tuyền
New member
How do I list all directories in Linux?
Answer
See the following examples:
Answer
See the following examples:
- To list all files in the current directory, type the following: ls -a This lists all files, including. dot (.) …
- To display detailed information, type the following: ls -l chap1 .profile. …
- To display detailed information about a directory, type the following: ls -d -l .