复习linux笔记

2014/11/12 posted in  服务端
Tags:  #linux

date: 2014-11-12 23:21

chgrp 用户组
chown 所有者
chown 文件权限

r = read
w = write
x = excute
rwxrwxrwx
owner group others
u g o a
owner = u
group = g
others = o
all = a (所有者)
r=4
w=2
x=1

umask文件默认权限

文件隐藏属性
chattr
lsattr

SUID,SGID,SBIT

file
which
whereis
locate