How do I list directories in Linux?

Việt Quân

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

Tìm kiếm

Back
Top