shell学习记录---5
2012-11-28 19:14
260 查看
......................................................................................................................................................................................................
5天内;
3天前改变;
{}和 \之间记得空格;
^[^d]不是d的目录;
^[^dlp]不是d ,l,p的目录;
500--599的文件.
IP地址;
多少行.
[root@localhost Exercise]# nohup find / -nouser -print >/info.txt &
[root@localhost Exercise]# find ./ -mtime -5 -print
5天内;
[root@localhost Exercise]# find ./ -mtime +3 -print
3天前改变;
{}和 \之间记得空格;
[root@localhost Exercise]# chmod 777 hello.txt [root@localhost Exercise]# find ./ -perm -7 -print ./hello.txt [root@localhost Exercise]# find ./ -perm -7 -print |xargs chmod o-w [root@localhost Exercise]# find ./ -perm -7 -print [root@localhost Exercise]# ls -l hello.txt -rwxrwxr-x 1 root root 20 Nov 28 11:53 hello.txt [root@localhost Exercise]#
^[^d]不是d的目录;
^[^dlp]不是d ,l,p的目录;
500--599的文件.
IP地址;
多少行.
相关文章推荐
- shell学习记录
- Shell学习记录[原创更新中]
- Linux+shell学习记录和思维导图
- Linux 学习记录 四(Bash 和 Shell scirpt).
- shell学习记录
- shell学习记录---4
- shell 学习记录
- shell脚本的学习记录(不定时更新)
- shell学习记录
- Shell脚本实现每个工作日定时执行指定程序(学习记录)
- shell grep 学习记录
- shell学习笔记--持续记录
- shell脚本学习记录
- 记录几个常用shell命令和工具(待继续学习添加)
- Hbase学习记录(2)| Shell操作
- Linux Shell Scripting Cookbook 学习记录1
- shell学习记录---1
- shell学习记录---2-2
- Linux学习记录--shell介绍
- Linux学习记录--shell介绍