Brief Introduction to linux ls commands, and introduction to linuxls
I am familiar with linux, but I am not familiar with ls commands.
Because we usually use this command to view files in a directory
The command format is:
Ls [Option] directory or file
This article describes the two most common options:
-L: Used to list details of objects.
-A: used to list hidden objects.
First, use ls-l to list all file details in the current vpoet user's home directory, excluding hidden files.
Use ls-a to list all the hidden files in the directory and only list the file names.
See, the file with "." is hidden.
Normally, we use the-a-l option to display all the details, including hidden files.
Now we will explain a specific record in detail:
-Rwxrw-r --: indicates the File Permission. '-' indicates that the file is a normal file. rwx indicates that the file owner vpoet has 'R' read permission and 'w' write permission on the file, 'X' execution permission
Rw-indicates the access to the file in the vpoet group to which the file owner belongs.
R -- indicates other people's permissions on the file
'1' indicates the number of file links
'Vpod' indicates the file owner.
'Vpod' indicates the group to which the file belongs.
The value 2086 indicates the file size.
November 25 16:49 indicates the last file update time
Testgrep indicates the file name.
Reprinted, please note: Xiao Liu