From 2ebc8c9faca366e53bc91aea39a01e26f8201ed6 Mon Sep 17 00:00:00 2001 From: thor andreas Date: Wed, 7 Oct 2015 20:21:01 +0200 Subject: [PATCH] Add two cheats for ls-command Display directories only --- cheat/cheatsheets/ls | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cheat/cheatsheets/ls b/cheat/cheatsheets/ls index 9d85600..41a116a 100644 --- a/cheat/cheatsheets/ls +++ b/cheat/cheatsheets/ls @@ -9,3 +9,9 @@ ls -lh # Display files, sorted by size ls -S + +# Display directories only +ls -d */ + +# Display directories only, include hidden +ls -d .*/ */