Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
Unix / Linux / Ubuntu Articles
Submit Article
Home
»
Articles
»
Unix / Linux / Ubuntu
»
Commands
RSS Feeds
Change file mode access permission - chmod
Posted By:
Poppy Brown
Category:
Unix / Linux / Ubuntu
Views:
6599
This article explains about chmod command with an example in unix.
chmod command is used to change file mode access permission in unix.
Syntax of chmod Command
chmod [- option] [mode] filename
Example of chmod Command
Example 1 : To change the access permission of file1 to 664
chmod 664 file1
Share:
Previous Post:
Update access, modification, and / or change times of file - touch
Next Post:
Change file owner of group - chown
Didn't find what you were looking for? Find more on
Change file mode access permission - chmod
Or get
search suggestion and latest updates
.
Poppy Brown
author of Change file mode access permission - chmod is from London,
United Kingdom
.
View All Articles
Related Articles and Code:
Change a permission of a file
How to change permission of file as 644?
Update access, modification, and / or change times of file - touch
Program that reads and writes random access file
PROGRAM FOR INPUT RECORDS INTO THE FILE USING EXTEND MODE
TCP/IP program to initialize tty modes for script file collection
Shell script to change extension of an existing file
Change file owner of group - chown
Program to perform operations like Count char,words and lines of file, display file in reverse, change case and frequency of a particular word in file
PERMISSIONS Function
Write a shell script, which displays a list of all files in the current directory to which you have read, write and execute permissions
Program to show the Basic Mouse Handling in Graphics Mode
Program to show the Basic Mouse Handling in Text Mode
Variables Inheritance and use of Super keyword to access superclass variable
Method inheritance and use of Super keyword to access superclass method
Constructor inheritance and use of Super keyword to access superclass constructor
PROGRAM OF CALCULATE MONTHLY SALES AMOUNT USING SEQUENTIAL ACCESS
Program that Displays an alphanumeric character on the screen in graphics mode
Program to find mode of the given array
DEFINING, ASSIGNING AND ACCESSING VALUES TO STRUCTURE MEMBERS
Other Interesting Articles in Unix / Linux / Ubuntu:
Shell script to check dir directory if it exists then change the path, if not then create dir with that name and also check for file name not exists
How would you know name of the users who are login?
For joining the line
Change file mode access permission - chmod
Write a shell program to display the alternate digits in a given 7 digit number starting from the first digit
Write a shell scripts that finds total no. of users and finds out how many of them are currently loggedin
Explain the difference between echo “$SHELL” and echo ‘$SHELL’
Tar is used to archive file - tar
Find the lines containing a number in a file
Write a Script to Broadcast a message to a specified user when the user loged on any terminal
Write a shell program to count number of words, characters, white spaces and special symbols in a given text
Concatenate, copy, print files - cat
Shell script to perform database operations for student data like view, add and delete records
Shell Script to create a Menu Driven program : Hard Link, Soft Link, Counting each of the links for a specific link and Display the soft-links
Navigation command in unix
Write a shell program to concatenate the contents of 2 files
Find out how many users are currently working.
menu driven shell program which have the options change the term, change the prompt and user list of unix system.
Program to calculate the gross salary
Write a shell program to find the sum of the series sum=1+1/2+...+1/n
Please enter your Comment
*
*
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
No Comment Found, Be the First to post comment!
Unix / Linux / Ubuntu
View All
Advance
Basics
Commands
Homework Help
Interview FAQ
Terms and Terminology
Assembly Language
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
Java
SQL Server
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Oracle
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint