1
0
Fork 0
dotfiles/zsh/chmod_help.zsh

16 lines
515 B
Bash

# I'm just unable to remember this shit
# Taken from http://www.analysisandsolutions.com/code/chmod.htm
alias chmod-help='echo "\
+---+-----+-------------------------+
| 0 | --- | no access |
| 1 | --x | only execute |
| 2 | -w- | only write |
| 3 | -wx | write and execute |
| 4 | r-- | only read |
| 5 | r-x | read and execute |
| 6 | rw- | read and write |
| 7 | rwx | read, write and execute |
+---+-----+-------------------------+\
"'