\
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
|
||||
alias cmd="\
|
||||
chmod \"755\" \
|
||||
chmod \
|
||||
\"755\" \
|
||||
"
|
||||
|
||||
# change mode as file
|
||||
alias cmf="\
|
||||
chmod \"644\" \
|
||||
chmod \
|
||||
\"644\" \
|
||||
"
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
# change owner as root
|
||||
alias cor="\
|
||||
chown \"0:0\" \
|
||||
chown \
|
||||
\"0:0\" \
|
||||
"
|
||||
|
||||
# change owner as user
|
||||
alias cou="\
|
||||
chown \"1000:1000\" \
|
||||
chown \
|
||||
\"1000:1000\" \
|
||||
"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# look for a string in processes names
|
||||
alias pg="\
|
||||
ps -A \
|
||||
| grep \
|
||||
ps \
|
||||
-A \
|
||||
| \
|
||||
grep \
|
||||
"
|
||||
|
|
Loading…
Reference in a new issue