From 06a34f315fe3e18edc63d051013c2ec81562c6ee Mon Sep 17 00:00:00 2001 From: thisiszeev Date: Fri, 27 Oct 2023 11:06:39 +0200 Subject: [PATCH] Update 'dirsize/README.md' --- dirsize/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dirsize/README.md b/dirsize/README.md index 9f35e67..b3ce7e0 100644 --- a/dirsize/README.md +++ b/dirsize/README.md @@ -10,25 +10,25 @@ If you run it in / you will get some errors as some folders have objects that ar Make the file executable by using... -''' +``` chmod +x dirsize.sh -''' +``` Then either as root copy it to the /usr/bin folder without the .sh extension... -''' +``` cp dirsize.sh /usr/bin/dirsize -''' +``` or using sudo -''' +``` sudo cp dirsize.sh /usr/bin/dirsize -''' +``` -### Example usage +## Example usage -''' +``` root@zeevs:/var# dirsize 4.0K ./mail 32M ./spool @@ -39,5 +39,5 @@ root@zeevs:/var# dirsize 4.0K ./opt 4.0K ./local 56K ./tmp -''' +```