您的位置:首页 > 运维架构 > Linux

How to find a directory on linux?

2014-02-05 15:53 483 查看
轉載自http://superuser.com/questions/327762/how-to-find-a-directory-on-linux

It is:

find / -type d -name 'httpdocs'


the first parameter "/" is where to look, in this case "/" it's the entire system.

-name could be -iname to ignore case

also -type is not mandatory

use : man find for more options
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: