Friday, October 28, 2005
chmod
Below are a couple of links explaining the syntax for the UNIX chmod utility which we are apt to see on various certification exams.
http://www.perlfect.com/articles/chmod.shtml
http://www.computerhope.com/unix/uchmod.htm
There are two syntax:
1) chmod u+rwx filename.ext
2) chmod 700 filename.ext
They do not have the same effect.
If filename had permissions r--r--r--
the first synatax would result in rwxr--r--
but the second in rwx------
http://www.perlfect.com/articles/chmod.shtml
http://www.computerhope.com/unix/uchmod.htm
There are two syntax:
1) chmod u+rwx filename.ext
2) chmod 700 filename.ext
They do not have the same effect.
If filename had permissions r--r--r--
the first synatax would result in rwxr--r--
but the second in rwx------