dotfiles/zsh/support/chmod_help.zsh
2013-04-25 20:23:31 +04:00

18 lines
516 B
Bash

# I'm just unable to remember this shit
# Taken from http://www.analysisandsolutions.com/code/chmod.htm
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 |
+---+-----+-------------------------+\
"
}