H I O X INDIA
LINUX Commands
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Templates 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)
Español Français 中文 Deutsch
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

LINUX / UNIX cmd
Introduction
Commands in A
Commands in B
Commands in C
Commands in D
Commands in E
Commands in F
Commands in G
Commands in H
Commands in I
Commands in J
Commands in K
Commands in L
Commands in M
Commands in N
Commands in P
Commands in R
Commands in S
Commands in T
Commands in U
Commands in W
Commands in Y
More about Linux
Feedback




chmod Linux Commands


Topic

What is Linux chmod Command?




Explanation

chmod COMMAND:
     chmod command allows you to alter / Change access rights to files and directories.

File Permission is given for users,group and others as,



SYNTAX:
  The Syntax is
     chmod [options] [MODE] FileName

File Permission

#File Permission
0 none
1 execute only
2 write only
3 write and execute
4 read only
5 read and execute
6 read and write
7 set all permissions


OPTIONS:
     
-c Displays names of only those files whose permissions are being changed
-f Suppress most error messages
-R Change files and directories recursively
-v Output version information and exit.



EXAMPLE:
     
  1. To view your files with what permission they are:
    ls -alt

    This command is used to view your files with what permission they are.

  2. To make a file readable and writable by the group and others.
    chmod 066 file1.txt
  3. To allow everyone to read, write, and execute the file
    chmod 777 file1.txt





        Find LINUX Commands... Hope you enjoy this tutorial. We welcome your Valuable feedbacks or suggestions on this LINUX / UNIX cmd reference. This is a copyright content.


privacy policy     license     sitemap
© 2004-2009 HIOX INDIA - hioxindia.com

Other Links