From c25dc96b5d23bb24b9258ac2368f0abac1fa8ce1 Mon Sep 17 00:00:00 2001 From: Camilla Krag Jensen Date: Mon, 14 Apr 2014 19:56:07 +0200 Subject: [PATCH] Add tree command docs. --- pages/common/tree.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/common/tree.md 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`