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 {}`