This commit is contained in:
Marc Beninca 2024-11-16 14:04:50 +01:00
parent 97389ceef7
commit 524ddb8968
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 14 additions and 12 deletions

View file

@ -1,11 +1,11 @@
# change mode as directory
# change mode to directory
cmd() {
chmod \
"755" \
"${@}"
}
# change mode as file
# change mode to file
cmf() {
chmod \
"644" \

View file

@ -1,11 +1,13 @@
# change owner as root
alias cor="\
# change owner to root
cor() {
chown \
\"0:0\" \
"
"0:0" \
"${@}"
}
# change owner as user
alias cou="\
# change owner to user
cou() {
chown \
\"1000:1000\" \
"
"1000:1000" \
"${@}"
}