您的位置:首页 > 运维架构 > Linux

linux 找不到tree命令解决办法

2017-05-12 09:43 477 查看
今天用Ubuntu 发现有几个命令不能用,提示如下:

root@ubuntu:/# tree /home/

The program 'tree' is currently not installed. You can install it by typing:

apt install tree

然后找了找实际就是因为没有安装tree这个东西,执行安装

sudo apt-get install tree 

然后再执行命令如下:

root@ubuntu:/home# tree /home/

/home/

└── lhw

    ├── Desktop

    ├── Documents

    ├── Downloads

    │   └── sogoupinyin.deb

    ├── Music

    ├── Pictures

    ├── Public

    ├── Templates

    └── Videos

9 directories, 1 file
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐