本帖最后由 fzhcl 于 2012-03-01 21:11 编辑 Hi Guys, Boss ask me to find out which account's password is *, below is the content of passwd file:( This is AIX unix file) root: password = HWjXEGfGcjl2c lastupdate = 1329402022 daemon: password = * bin: password = * sys: password = * adm: password = 70AjL2hqdkVoI lastupdate = 1288287263 ...
by fzhcl - Shell - 2012-03-02 22:10:43 阅读(2145) 回复(10)
find命令用于搜索符合指定条件的文件;用法及参数如下: 1.find . -name file1 :在当前目录下查找名称为file1的文件,这是精确查找,即文件名必须是file1 2.find . -name "file*"在当前目录下查找名称以file1开头的文件,这是模糊查找,使用通配符 3.-name:按文件名查找 4.-mtime 10 修改时间距今10天的文件,+10大于10天,-10小于10天 5.-size 400 表示文件大小等于400个block;+400表示文件大小超过400个block;-400表示文件...
look look [options] string [file] Search for lines in file (/usr/dict/words by default) that begin with string. Options -a Use alternate dictionary, /usr/dict/web2. -d Compare only alphanumeric characters. -f Search is not case-sensitive. -t character Stop checking after the first occurrence of character. 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/22178/showar...