LINUX command notes

cp A B                    A is copied to be B

chown  :                  change the owner of the file or directory

chgrp      chgrp -R file/dir                                  change the group of a file/dir  

chown -R  user:gruop  file/directory                       define recursively                      

chmod   777                    change the authority of users           

ls -al                          

ls -l  file/directory        

- rw-r--r--  1   root   root   807103    Jan    7       2007      /etc/termcap

< 档案类型  拥有着权限 组员权限 其他人权限>  连结到此节点的数目     拥有者  拥有者所在的组   大小(byte)  建档日期或近期修改日期

r : 4    w : 2    x : 1                 x : execute

la -al .bashrc*

猜你喜欢

转载自blog.csdn.net/weixin_33030509/article/details/82713913