(Grav GitSync) Automatic Commit from RealStickman
This commit is contained in:
parent
efd891d963
commit
796d6b3f47
@ -24,16 +24,11 @@ A value of 5 therefor gives the permissions "Read" and "Execute".
|
|||||||
|
|
||||||
### Change user and group
|
### Change user and group
|
||||||
Use `chown` to change the owner and group of a file or directory.
|
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:
|
Example:
|
||||||
`chown (-R) (owner):(group) (path)`
|
`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 biggest files
|
||||||
`find . -type f -print0 | xargs -0 du -s | sort -n | tail -(amount) | cut -f2 | xargs -I{} du -sh {}`
|
`find . -type f -print0 | xargs -0 du -s | sort -n | tail -(amount) | cut -f2 | xargs -I{} du -sh {}`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user