How to find a directory on linux?

来源:互联网 发布:淘宝网马云有多少股份 编辑:程序博客网 时间:2024/05/17 07:23

轉載自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

0 0
原创粉丝点击