LoginSignup
6
8

More than 5 years have passed since last update.

treeコマンドのインストール

Posted at

必要なパッケージのインストール

$ sudo yum install gcc

インストール

$ wget ftp://mama.indstate.edu/linux/tree/tree-1.6.0.tgz
$ tar zxvf tree-1.6.0.tgz 
$ cd tree-1.6.0
$ make 
$ sudo make install

確認

$ tree --version                                 
tree v1.6.0 (c) 1996 - 2011 by Steve Baker, Thomas Moore, Francesc Rocher, Kyosuke Tokoro 

よく使うオプション
-a ・・・ 隠しファイルも含めた全てのファイルを表示
-d ・・・ ディレクトリのみを表示
-L level ・・・ 指定した階層の深さ(level)まで表示する

6
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
8