1.查看文件类型:
file + 具体文件名socket
2.执行文件查询io
which -a ifconfig 将全部能够找到的命令均列出file
3.find [path] [option] [action]权限
find / -mtime 0 将24小时内有改动的文件列出im
/etc -newer /etc/passwd 将比passwd新的文件列出查询
/home -user xxx 查找属于 xxx的文件文件
/ -nouser 查找不属于任何人的文件co
/ -name xxx 查找名为xxx的文件time
/ -type s 查找/下类型为socket的文件config
/ -perm +7000 查找含有 SGID/SUID/SBIT属性的文件
find / -perm -7000 -exec ls -l {} \; 查找权限为7000的文件并以ls -l 表达,以-exec开始到\;结束