How do you list all files including hidden ones in a directory?

Nguyễn Pháp

New member
How do you list all files including hidden ones in a directory?
Answer
The ls command
  1. ls -a will list all files including hidden files (files with names beginning with a dot).
  2. ls -F gives a full listing, indicating what type files are by putting a slash after directories and a star after executable files (programs you can run).
  3. ls -l gives a long listing of all files.
 

Tìm kiếm

Back
Top