Difference between revisions of "Chmod"

From Hackepedia
Jump to navigationJump to search
m
Line 1: Line 1:
Change the mode of a [[file]] or [[filesystem]] object.  You can use a human readable format or the octal [[permission]] modes.
+
Change the mode of a [[file]] or [[filesystem]] object.  You can use a human readable format or the octal [[permission|permissions]] modes.
  
 
  chmod 755 directory
 
  chmod 755 directory
Line 5: Line 5:
 
  chmod +x script.sh
 
  chmod +x script.sh
  
See the manual page of chmod to find further information.
+
See the [[manual]] page of chmod to find further information.

Revision as of 04:49, 24 May 2008

Change the mode of a file or filesystem object. You can use a human readable format or the octal permissions modes.

chmod 755 directory
chmod u+s file
chmod +x script.sh

See the manual page of chmod to find further information.