dog1888 发表于 2019-2-17 11:19:44

linux命令之tree

  tree:list contents of directories in a tree-like format
  显示文件或目录树内容

  常用选项:
  -d 只显示目录
  -f 显示完整路径名
  -L n 显示目录的深度,n为数字
# tree -Ldf 2/
/
├── /bin
├── /boot
│   ├── /boot/efi
│   ├── /boot/grub
│   └── /boot/lost+found
├── /dev
│   ├── /dev/block
│   ├── /dev/bsg


页: [1]
查看完整版本: linux命令之tree