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