Linux.com

newbie vs. geek

Posted by: Administrator on January 30, 2004 07:20 AM
As a beginner I found that u/g/a +/- r/w/x was easier to remember but the more I used it, the more I liked using numbers. As an extreme example of having to change all three permissions:



chmod u+r+w+x g+r-w+x a+r-w+x

vs.

chmod 755



Thats 21 characters vs 3, for a total savings of 18 keystrokes, not to mention the latter can be done without reaching those funny -/+ keys<nobr> <wbr></nobr>:P

BTW, if my 1st syntax is not correct, that's because I haven't used it for quite some time.



-thinker- a.k.a. Oleg Kio

www.WarriorOfLight.com

#

Return to CLI magic: mother, may I?