Skip to main content
The 2024 Developer Survey results are live! See the results
Added code format and install instructions.
Source Link
Zuul
  • 16.2k
  • 6
  • 62
  • 88

Use treetree, with -f-f (full path) and -i-i (no indentation lines):

tree -if --noreport .
tree -if --noreport directory/

You can then use grepgrep to filter out the ones you want.


If the command is not found, you can install it:

Type following command to install tree command on RHEL/CentOS and Fedora linux:

# yum install tree -y

If you are using Debian/Ubuntu, Mint Linux type following command in your terminal:

$ sudo apt-get install tree -y

Use tree, with -f (full path) and -i (no indentation lines)

tree -if --noreport .
tree -if --noreport directory/

You can then use grep to filter out the ones you want.

Use tree, with -f (full path) and -i (no indentation lines):

tree -if --noreport .
tree -if --noreport directory/

You can then use grep to filter out the ones you want.


If the command is not found, you can install it:

Type following command to install tree command on RHEL/CentOS and Fedora linux:

# yum install tree -y

If you are using Debian/Ubuntu, Mint Linux type following command in your terminal:

$ sudo apt-get install tree -y
added 22 characters in body
Source Link
danio
  • 8.6k
  • 6
  • 48
  • 56

Use tree, with -f (full path) and -i (no indentation lines)

tree -if --noreport .
tree -if --noreport directory/

You can then use grep to filter out the ones you want.

Use tree, with -f (full path) and -i (no indentation lines)

tree -if .
tree -if directory/

You can then use grep to filter out the ones you want.

Use tree, with -f (full path) and -i (no indentation lines)

tree -if --noreport .
tree -if --noreport directory/

You can then use grep to filter out the ones you want.

Source Link

Use tree, with -f (full path) and -i (no indentation lines)

tree -if .
tree -if directory/

You can then use grep to filter out the ones you want.