linux学习01

来源:互联网 发布:linux系统密码忘记 编辑:程序博客网 时间:2024/06/03 21:34
1.umask
2.隐藏属性:lsattr,chattr
3.SUID(文档,只能用在binary program,不能用在shell script,目录4),SGID(获得组成员的权限2),SBIT(只能用在目录,只有root和目录的创建者能进行更改,rm,rename1):
4.which:寻找可执行 which (-a) commond
 5.whereis :寻找特定文档
5.locate:需要更新数据库updatedb
6find:a:mtime:+n(n天之前(不包含n天)修改过的)  mtime:-n(n天之(包含n天)) mtime:n(n天前的一天之内)  newer file1(比file1之前的)例如:find /etc -mtime 3时间戳:+n  n  -n
      b:nouser nogroup
      c:find /home -user chengpeilong 寻找在Home目录下的属于chengpeilong的文件
7.目录的r:可以ls目录的内容 w:可以往目录里面加东西 x:可以cd进入该目录 删除目录中的文件wx权限
0 0
原创粉丝点击