關於solairs10的find命令使用

lixiang114發表於2011-06-29

# find /bea -name subversion.xml

查詢/bea目錄下 包含名字為 subversion.xml

/bea/Deployment/Temp-IT3/subversion.xml
/bea/Deployment/bundle/et1.config/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_0317/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_0323/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_0326/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_0303/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_0330/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_0331/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_0406/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_0409/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_0426/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_0515/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_0913/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_20101226/BatchCore/subversion.xml
/bea/Deployment/bundle/27-December-2010/et1.config/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_20110303/BatchCore/subversion.xml
/bea/Deployment/bundle/et1.config_20110513/BatchCore/subversion.xml
#

# find /bea -name 'classes' -type d

查詢/bea目錄下 包含目錄為classes的資料夾


/bea/bea814/weblogic81/common/eval/dbvisualizer/wrapper/classes
/bea/bea814/weblogic81/server/ext/jdbc/sybase/jConnect-5_5/classes
/bea/bea814/weblogic81/samples/partners/Crystal-Reports/ReportsWeb/WEB-INF/classes
/bea/bea814/weblogic81/samples/workshop/ExtensionDevKit/ControlDevKit/.workshop/output/ControlTest/WEB-INF/classes
/bea/bea814/weblogic81/samples/workshop/ExtensionDevKit/TaglibExtDevKit/TaglibWebProject/WEB-INF/classes
/bea/bea814/weblogic81/samples/workshop/SamplesApp/.workshop/output/GettingStarted/WEB-INF/classes
/bea/bea814/weblogic81/samples/workshop/SamplesApp/.workshop/output/WebApp/WEB-INF/classes
/bea/bea814/weblogic81/samples/workshop/SamplesApp/.workshop/output/WebServices/WEB-INF/classes
/bea/bea814/weblogic81/samples/workshop/SamplesApp/GettingStarted/WEB-INF/classes
/bea/bea814/weblogic81/samples/workshop/SamplesApp/WebApp/WEB-INF/classes

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7417660/viewspace-1051757/,如需轉載,請註明出處,否則將追究法律責任。

相關文章