1. View files and folders that are not hidden in the current directory.
The command is as follows:
ls
2. View all files in the current directory (including hidden files or hidden folders).
The command is as follows:
ls -a
3. View the detailed information of files and folders that are not hidden in the current directory .
The command is as follows:
ls -l
or
ll
4. View all files and folders in the current directory (including detailed information such as hidden. And …).
The command is as follows:
ls -al