Home  >  Article  >  Operation and Maintenance  >  How to view directories in linux

How to view directories in linux

(*-*)浩
(*-*)浩Original
2019-12-28 13:31:487818browse

How to view directories in linux

## The command of the file and directory is: LS (Recommended learning: linux tutorial )

#LS English original meaning: list, the path where the command is located: /bin/ls, applicable to all user permissions, the main function is to display directory files in list form.

The syntax: ls option [-ald][file or directory]

Among them, -a displays all files, including hidden files;

-l Detailed information display;

-d Only display the directory name, not the content list under the directory;

-h Humanized display (hommization);

-i View the i node of any file (similar to the unique information of an ID card);

-t Sort by the change time of files and directories; you can use the first displayed file to determine the most recently modified file ;

Note: Unless the file starting with . is a directory, it is a hidden file

How to view directories in linux

The above is the detailed content of How to view directories 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
Previous article:How to check linux ipNext article:How to check linux ip