From 796d6b3f477c7847f98a07e5bb33a3b3bbbfa6e7 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sun, 24 Apr 2022 14:58:50 +0200 Subject: [PATCH] (Grav GitSync) Automatic Commit from RealStickman --- pages/02.linux/02.file-operations/default.en.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pages/02.linux/02.file-operations/default.en.md b/pages/02.linux/02.file-operations/default.en.md index c5ac52a..0340ad7 100644 --- a/pages/02.linux/02.file-operations/default.en.md +++ b/pages/02.linux/02.file-operations/default.en.md @@ -24,16 +24,11 @@ A value of 5 therefor gives the permissions "Read" and "Execute". ### Change user and group Use `chown` to change the owner and group of a file or directory. +If you only want to change the user or the group, only specify the part left or right of `:` respectively. Example: `chown (-R) (owner):(group) (path)` -### Change group -Use `chgrp` to change the group of a file or directory. - -Example: -`chgrp (-R) (group) (path)` - ## Find biggest files `find . -type f -print0 | xargs -0 du -s | sort -n | tail -(amount) | cut -f2 | xargs -I{} du -sh {}`