diff --git a/pages/common/tree.md b/pages/common/tree.md new file mode 100644 index 0000000000..b68ec4e6de --- /dev/null +++ b/pages/common/tree.md @@ -0,0 +1,19 @@ +# tree + +> Show the contents of the current directory as a tree. + +- Show files and directories with a depth of 'num' + +`tree -L {{num}}` + +- Show directories only + +`tree -d` + +- Show hidden files too + +`tree -a` + +- Print human readable size of files + +`tree -h`