ChinaUnix.net
相关文章推荐:

linux下查找文件

引用: http://www.linuxsir.org/main/?q=node/137 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/86450/showart_1687358.html

by 2008sgh - Linux文档专区 - 2008-12-09 11:35:55 阅读(1015) 回复(0)

相关讨论

#> find . -type f -exec grep 'thename' -l {} \; grep -l :是显示匹配的内容的文件名字! 或者: #> find . -type f -name "*.*" |xargs grep 'thename' -l (这个方法 不好,挺乱的,还慢,推荐前一个方法!) 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/75258/showart_1106486.html

by shuguangshaomen - Linux文档专区 - 2008-08-05 10:26:12 阅读(1053) 回复(0)

Linux 下的查找命令有好几个,我比较常用的就 whereis 和 find,这里和大家分享一下。 whereis 其中 whereis 主要用来查找命令文件、源代码和 man 帮助文件,使用也很简单,比如 //查找帮助文件 [wyg@server]# whereis -m php php: /usr/share/man/man1/php.1 //查找二进制文件,除了帮助文件外全列出来了 [wyg@server]# whereis -b php php: /usr/bin/php /etc/php.d /etc/php.ini /usr/include/php //查找源代码,啥都找不到...

by wyg1258 - Linux文档专区 - 2007-07-04 21:13:07 阅读(800) 回复(0)

怎样在LINUX 下查找文件 用FIND 命令吗。能举一例子最好

by thomastang - Linux论坛 - 2005-03-12 13:24:19 阅读(1324) 回复(7)

怎样在LINUX 下查找文件 用FIND 命令吗。能举一例子最好

by thomastang - Linux系统管理 - 2005-03-12 13:24:19 阅读(1052) 回复(7)

本帖最后由 yingtank 于 2010-07-07 22:19 编辑 一,遇到find之前经常用的查找命令 which,whereis来查找安装的程序文件 [zhangy@BlackGhost ~]$ whereis php php: /usr/bin/php /etc/php /usr/lib/php /usr/include/php /usr/local/php /usr/share/man/man1/php.1.gz [zhangy@BlackGhost ~]$ which php /usr/bin/php locate来查找文件 [zhangy@BlackGhost ~]$ locate Test.php /home/zhangy/phpMyAdmin/test/FailTest.php...

by yingtank - Linux系统管理 - 2010-11-23 17:45:38 阅读(4325) 回复(9)

Linux 下的查找命令有好几个,我比较常用的就 whereis 和 find,这里和大家分享一下。   whereis   其中 whereis 主要用来查找命令文件、源代码和 man 帮助文件,使用也很简单,比如 //查找帮助文件 [wyg@server]# whereis -m php php: /usr/share/man/man1/php.1 //查找二进制文件,除了帮助文件外全列出来了 [wyg@server]# whereis -b php php: /usr/bin/php /etc/php.d /etc/php.ini /usr/include/php //查找源代码,啥...

by lingfen1552 - Linux文档专区 - 2007-07-09 09:36:41 阅读(708) 回复(0)

在LINUX下,我对APACHE的httpd.conf进行设置时,想问一下,有没有什么命令可以查找某个英文的。 就是WINDOWS下面,在记事本里的查找功能一样。 请各位高手教教我!

by feihu818 - Linux系统管理 - 2008-09-19 21:35:03 阅读(3468) 回复(8)

#> find . -type f -exec grep 'mingtian' -l {} \; grep -l :是显示匹配的内容的文件名字! 或者: #> find . -type f -name "*.*" |xargs grep 'xiaoshou' -l (这个方法 不好,挺乱的,还慢,推荐前一个方法!) 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/55630/showart_683312.html

by xiaoshou330 - Linux文档专区 - 2008-05-10 13:27:52 阅读(1182) 回复(0)

怎样在LINUX 下查找文件 ,例如 我要搜索 NET 。CONF ,但我不知道他的位置,他能象WINDOWS 那样定位文件在哪吗

by thomastang - 系统管理 - 2005-03-10 11:41:56 阅读(989) 回复(3)

怎样在LINUX 下查找文件 ,例如 我要搜索 NET 。CONF ,但我不知道他的位置,他能象WINDOWS 那样定位文件在哪吗

by thomastang - Linux系统管理 - 2005-03-10 11:41:56 阅读(1024) 回复(3)