tree命令
以樹結構風格展示目錄。清晰直觀。
tree [參數(shù)選項] 需要展示結構的目錄參數(shù)說明:-d 只展示目錄-L level 只展示指定深度的結構-f 顯示文檔相對于當前目錄的路徑-h 以人類友好的形式展示文檔大小
1、tree -L 5/home/hejinchao 展示/home/hejianchao目錄下,深度<=5的所有文件的結構2、tree -d 暫時當前目錄下的子目錄結構
posted on 2013-04-12 01:48 hejianchao 閱讀(195) 評論(0) 編輯 收藏 所屬分類: 一天一命令
Powered by: BlogJava Copyright © hejianchao