13 lines
126 B
Bash
13 lines
126 B
Bash
# change mode to directory
|
|
cmd() {
|
|
chmod \
|
|
"755" \
|
|
"${@}"
|
|
}
|
|
|
|
# change mode to file
|
|
cmf() {
|
|
chmod \
|
|
"644" \
|
|
"${@}"
|
|
}
|