由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - 用find查找文件是如何过滤无用信息
相关主题
a UNIX permission questionCannot change password
group permissionhelp delete files!
what's wrong with my CXterm5.0?permission of the file written by cgi script
[转载] How to list the files with specific permission?owner of cgi process
cxterm installation problemfrom ftp, how to change permission
FTP server problem怎么控制su的permission?
关于tar的愚昧问题[转载] pop3 programming problem
unix commands questionKorn shell script
相关话题的讨论汇总
话题: 查找文件话题: 无用信息话题: find话题: 过滤话题: 如何
进入Unix版参与讨论
1 (共1页)
s****r
发帖数: 710
1
用find -name命令查找文件和目录,如果搜索范围大,经常会出现一大堆Permission
denied的垃圾信息,如何过滤掉它们,之前好象有人问过,但我找不到那个帖子了。谢谢
指教。
H***a
发帖数: 189
2
add this in the end of the command line
2> /dev/null

【在 s****r 的大作中提到】
: 用find -name命令查找文件和目录,如果搜索范围大,经常会出现一大堆Permission
: denied的垃圾信息,如何过滤掉它们,之前好象有人问过,但我找不到那个帖子了。谢谢
: 指教。

q*****g
发帖数: 1568
3
Only bash can do this, tcsh is not that smart for instance, hehe.

【在 H***a 的大作中提到】
: add this in the end of the command line
: 2> /dev/null

1 (共1页)
进入Unix版参与讨论
相关主题
Korn shell scriptcxterm installation problem
xterm in UNIXFTP server problem
how to use setuid permission for a perl program?关于tar的愚昧问题
问个删除文件的问题unix commands question
a UNIX permission questionCannot change password
group permissionhelp delete files!
what's wrong with my CXterm5.0?permission of the file written by cgi script
[转载] How to list the files with specific permission?owner of cgi process
相关话题的讨论汇总
话题: 查找文件话题: 无用信息话题: find话题: 过滤话题: 如何