#author("2017-05-16T18:03:55+09:00","default:Miyashita","Miyashita")
#author("2018-07-26T00:39:33+09:00","default:Miyashita","Miyashita")
*tree コマンド メモ [#ce95ccf6]
階層構造を見る.ソースコードのモジュール構成を確認したい時などに使う.
 tree hogehoge
#codeprettify(lang-bash){{
tree hogehoge
}}
「-L」オプションで階層の数を指定できる.
 tree -L 3 hogehoge
#codeprettify(lang-bash){{
tree -L 3 hogehoge
}}
でhogehogeというディレクトリの3つ下まで確認できる.~
ファイル名いらん,という時は「-d」でディレクトリだけになる.
 tree -d hogehoge

#codeprettify(lang-bash){{
tree -d hogehoge
}}

Front page   Edit Diff Attach Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes