Linux command tree: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Linux) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 24: | Line 24: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=Installation= | =Installation= | ||
==Mac== | |||
brew install tree | brew install tree | ||
==Linux== | |||
<syntaxhighlight lang='bash'> | |||
yum install tree #RHEL/CentOS 7 | |||
dnf install tree #Fedora 22+ and /RHEL/CentOS 8 | |||
sudo apt install tree #Ubuntu/Debian | |||
</syntaxhighlight> |
Latest revision as of 00:24, 6 January 2021
Internal
Overview
Recursively descends a directory, producing something like this:
a
├── Chart.yaml
├── charts
│ └── b
│ ├── Chart.yaml
│ ├── charts
│ │ └── c
│ │ ├── Chart.yaml
│ │ ├── templates
│ │ │ └── pod.yaml
│ │ └── values.yaml
│ ├── templates
│ │ └── pod.yaml
│ └── values.yaml
├── templates
│ └── pod.yaml
└── values.yaml
Installation
Mac
brew install tree
Linux
yum install tree #RHEL/CentOS 7
dnf install tree #Fedora 22+ and /RHEL/CentOS 8
sudo apt install tree #Ubuntu/Debian