Home  >  Article  >  Operation and Maintenance  >  What is the command to view hidden folders in Linux?

What is the command to view hidden folders in Linux?

WBOY
WBOYOriginal
2021-12-24 16:16:1830804browse

The Linux command to view hidden folders is "ls -a". The ls command is used to display files and subdirectories in the specified directory. "a" is the option of the ls command, which means to display all files including hidden files. File, the syntax is "ls -a directory or file name".

What is the command to view hidden folders in Linux?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

What is the command to view hidden folders in Linux

The command to view hidden folders in Linux is "ls -a".

Linux ls (English spelling: list files) command is used to display the contents of the specified working directory (list the files and subdirectories contained in the current working directory).

The syntax is:

ls [-alrtAFR] [name...]

Parameters:

-a Display all files and directories (hidden files starting with . will also be listed)

Examples are as follows :

What is the command to view hidden folders in Linux?

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of What is the command to view hidden folders in Linux?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn