Linux/Unix Commands





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
LINUX / UNIX cmd
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Introduction
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example A
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example B
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example C
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example D
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example E
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example F
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example G
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example H
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example I
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example J
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example K
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example L
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example M
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example N
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example P
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example R
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example S
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example T
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example U
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example V
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example W
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Y
Forums Ask your doubts
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example More about Linux
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Feedback
 


chmod Linux Commands


Tutorials 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





A Note

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.


Other Links

web hosting

 

Free Hosting

Top Hosting Companies