Add examples for newly added chmod aliases

Signed-off-by: hjpotter92 <hjpotter92+github@gmail.com>
This commit is contained in:
hjpotter92 2017-08-03 13:37:32 +05:30
parent 871003d236
commit 32322705f5
No known key found for this signature in database
GPG Key ID: 5973A03F465437CC

View File

@ -50,6 +50,9 @@ alias cp='cp -i'
alias mv='mv -i' alias mv='mv -i'
# Aliases for setting file permissions # Aliases for setting file permissions
# Creates alias like:
# a+x = chmod a+x
# su-r = sudo chmod u-r
for p (r w x); do for p (r w x); do
for o (+ -); do for o (+ -); do
for d (a g o u); do for d (a g o u); do