From 61db30e0cb15bc85ff9e5178a47ec1ca4e6bca27 Mon Sep 17 00:00:00 2001 From: ganome Date: Thu, 5 Sep 2024 17:18:45 -0600 Subject: [PATCH] Forgot a few code blocks in Chapter 5 --- .../Understanding File Permissions.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/05 - Linux Permissions and Ownership/Understanding File Permissions.md b/05 - Linux Permissions and Ownership/Understanding File Permissions.md index bdd8289..79aa962 100644 --- a/05 - Linux Permissions and Ownership/Understanding File Permissions.md +++ b/05 - Linux Permissions and Ownership/Understanding File Permissions.md @@ -78,9 +78,7 @@ Examples: ### Using chmod with Numeric Notation You can also use numeric notation with chmod: -``` -chmod [numeric_permissions] filename -``` +`chmod [numeric_permissions] filename` Example: - `chmod 755 file.txt`: Set rwx for owner, rx for group and others @@ -90,16 +88,12 @@ Example: ### chown command Use `chown` to change the owner of a file: -``` -chown new_owner filename -``` +`chown new_owner filename` ### chgrp command Use `chgrp` to change the group of a file: -``` -chgrp new_group filename -``` +`chgrp new_group filename` ## 7. Special Permissions