mirror of
https://github.com/denisidoro/navi
synced 2024-11-29 06:50:32 +00:00
Update shell.cheat
This commit is contained in:
parent
85e376f850
commit
820e382283
1 changed files with 0 additions and 8 deletions
|
@ -27,9 +27,6 @@ killall <Process-name>
|
||||||
# Get the current path
|
# Get the current path
|
||||||
pwd
|
pwd
|
||||||
|
|
||||||
# Copy to clipboard
|
|
||||||
pwd | pbcopy
|
|
||||||
|
|
||||||
# Get the current hostname
|
# Get the current hostname
|
||||||
hostname
|
hostname
|
||||||
|
|
||||||
|
@ -48,13 +45,8 @@ exit
|
||||||
% Shell Permissions
|
% Shell Permissions
|
||||||
|
|
||||||
# Use -R option to change permissions recursively.
|
# Use -R option to change permissions recursively.
|
||||||
|
|
||||||
ps -ef | grep apache | grep -v grep
|
ps -ef | grep apache | grep -v grep
|
||||||
|
|
||||||
# List
|
|
||||||
# Change permissions
|
|
||||||
chmod 755 <index>
|
|
||||||
|
|
||||||
# Change group
|
# Change group
|
||||||
chgrp <group-name-from> <group-name-to>
|
chgrp <group-name-from> <group-name-to>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue