Common commands for linux study notes

command [-options] [arguments]

ls list files

ls -a show all files, including hidden files

ls -l details

ls -d to view file attributes

 

file details

drwx-xrr-x 19 root root 1205 3月 3  08:10 fileName

d folder -file -l softlink  

rwx owner permissions -xr all group permissions rx others permissions  

file r readable w writable x executable 

Folder r can list files w can add or delete files x can open files rx is generally used together     

1205 ID index of each file 

March 3 08:10 File last modified time

fileName file name

 

 

 

 

 

 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327011364&siteId=291194637