Chmod: Difference between revisions

From Hackepedia
Jump to navigationJump to search
No edit summary
mNo edit summary
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 03: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.