## 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
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!