\
This commit is contained in:
parent
57c4d58631
commit
a35d7da975
3 changed files with 12 additions and 6 deletions
|
@ -1,9 +1,11 @@
|
||||||
# change mode as directory
|
# change mode as directory
|
||||||
alias cmd="\
|
alias cmd="\
|
||||||
chmod \"755\" \
|
chmod \
|
||||||
|
\"755\" \
|
||||||
"
|
"
|
||||||
|
|
||||||
# change mode as file
|
# change mode as file
|
||||||
alias cmf="\
|
alias cmf="\
|
||||||
chmod \"644\" \
|
chmod \
|
||||||
|
\"644\" \
|
||||||
"
|
"
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
# change owner as root
|
# change owner as root
|
||||||
alias cor="\
|
alias cor="\
|
||||||
chown \"0:0\" \
|
chown \
|
||||||
|
\"0:0\" \
|
||||||
"
|
"
|
||||||
|
|
||||||
# change owner as user
|
# change owner as user
|
||||||
alias cou="\
|
alias cou="\
|
||||||
chown \"1000:1000\" \
|
chown \
|
||||||
|
\"1000:1000\" \
|
||||||
"
|
"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# look for a string in processes names
|
# look for a string in processes names
|
||||||
alias pg="\
|
alias pg="\
|
||||||
ps -A \
|
ps \
|
||||||
| grep \
|
-A \
|
||||||
|
| \
|
||||||
|
grep \
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in a new issue