Linux command tree: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Linux") |
(→Linux) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Linux#Commands|Linux]] | * [[Linux#Commands|Linux]] | ||
=Overview= | |||
Recursively descends a directory, producing something like this: | |||
<syntaxhighlight lang='text'> | |||
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 | |||
</syntaxhighlight> | |||
=Installation= | |||
==Mac== | |||
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