mirror of
https://github.com/denisidoro/navi
synced 2024-11-25 13:00:20 +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
|
||||
pwd
|
||||
|
||||
# Copy to clipboard
|
||||
pwd | pbcopy
|
||||
|
||||
# Get the current hostname
|
||||
hostname
|
||||
|
||||
|
@ -48,13 +45,8 @@ exit
|
|||
% Shell Permissions
|
||||
|
||||
# Use -R option to change permissions recursively.
|
||||
|
||||
ps -ef | grep apache | grep -v grep
|
||||
|
||||
# List
|
||||
# Change permissions
|
||||
chmod 755 <index>
|
||||
|
||||
# Change group
|
||||
chgrp <group-name-from> <group-name-to>
|
||||
|
||||
|
|
Loading…
Reference in a new issue