LINUX command notes
阿新 • • 發佈:2018-11-14
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*