How do I show hidden files in Linux terminal?

Đức Linh

New member
How do I show hidden files in Linux terminal?
Answer
4. Via a terminal
  1. To list a terminal non-hidden items in the current folder, enter the command : ls.
  2. To display all items, including hidden elements, simply add the argument -a ( “all” in English): ls -a.
  3. And to only display hidden files and folders: ls -d. *
  4. If you add / , you only see hidden folders: ls -d. * /
 

Tìm kiếm

Back
Top