linuxでディレクトリ構成を確認

centOS系の場合

#yum -y install tree

debianの場合

#aptitude install tree

オプションの指定

ディレクトリだけ表示

$ tree -d

ドットファイルも対象

$ tree -a

階層指定(2階層目まで表示)

$ tree -L 2

最終更新:2016年06月10日 02:12