From d49f3ea27657d1bc31c409eb844043f8417d7b16 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 28 Oct 2020 19:28:41 +0100 Subject: [PATCH] Add usefull commands --- arch-config/Dokumente/Commands.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch-config/Dokumente/Commands.md b/arch-config/Dokumente/Commands.md index dd662ca5..5961a7da 100644 --- a/arch-config/Dokumente/Commands.md +++ b/arch-config/Dokumente/Commands.md @@ -170,3 +170,18 @@ java com.pavelfatin.typometer.Application ``` *Important: Use BASH instead of FISH, as the colors in FISH confuse the program.* + +## List number of items in directory +```bash +ls -1 | wc -l +``` + +## List size of directory +```bash +du -sh +``` + +## List usage of all partitions +```bash +df -h +```