From c5583f6e9795bea16fb53b3eaac75d1a964f7174 Mon Sep 17 00:00:00 2001 From: Eirik Th S Date: Fri, 5 Mar 2021 09:50:52 +0100 Subject: [PATCH] Find total size of a folder --- linux.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linux.md b/linux.md index ab288fc..0f3c4ec 100644 --- a/linux.md +++ b/linux.md @@ -21,6 +21,10 @@ To find the largest 20 files in a directory:
+Find the total size of a folder: `du -hs /foldername` + +
+ ### Set script as startup If, for some reason, apache isn't startup: