In Linux, ls command is the full name list, the main role is a list of the current directory.
- All directories under the root directory lists the Linux
ls / - List all the folders and files in the current directory
ls - The current list of all folders and files in the directory (including the "." At the beginning of the hidden files)
LS -a - Detailed lists all files in the current directory (including permissions, ownership, file size, etc.)
LS the -l
LS -a the -l (including hidden files) - List all start with test or end with .txt files in the current directory
to the beginning of the test: LS test *
to the end of the test: LS * .txt - Lists the current directory folder testA of all sub-folders and files
ls testA /