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 owner of group - chown
Posted By:
Liam Evans
Category:
Unix / Linux / Ubuntu
Views:
3427
This article explains about chown command with an example in unix.
chown command is used to Change file owner of group in unix.
Syntax of chown Command
chown [-R] owner[:group] file
Example of chown Command
Example 1 : To
search the directory
design_notes and changes each file in that directory to
owner mark and group
chown -R mark: users design_note
Share:
Previous Post:
Change file mode access permission - chmod
Next Post:
Change User - su
Didn't find what you were looking for? Find more on
Change file owner of group - chown
Or get
search suggestion and latest updates
.
Liam Evans
author of Change file owner of group - chown is from London,
United Kingdom
.
View All Articles
Related Articles and Code:
Grouping Rows with GROUP BY clause
Change a permission of a file
How to change permission of file as 644?
Shell script to change extension of an existing file
Update access, modification, and / or change times of file - touch
Change file mode access permission - chmod
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
Program of group wise stock summary
GROUPING Function
Print user and group IDs and names - id
Add a new group to the system - groupadd
GROUP BY Clause
menu driven shell program which have the options change the term, change the prompt and user list of unix system.
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
Script to make File and Directory Management Operations menu based : Display Current directory, List Directory, Make Directory, Change Directory etc
Write a menu driven shell script for Copy a file, Remove a file, Move a file
Program that changes an infix expression to a postfix expression according
Program to change characters in a StringBuffer objects and to reverse its contents
PROGRAM TO CHANGE THE SIZE OF CURSOR
Write a query to change the format of date using to_char function
Other Interesting Articles in Unix / Linux / Ubuntu:
Program to calculate the factorial of a number
Write a shell script, which reports names and sizes of all files in a directory whose size is exceeding 1000 bytes
Write a shell program to concatinate two strings and find the length of the resultant string
List all files start with a or A
Write a shell script to convert a file to lower case or upper case as specified by user.
Script to count and report the number of entries present in each subdirectory mentioned in the path, which is supplied as a command-line argument
Search a file for a pattern - grep
Write a shell program to add, subtract and multiply the 2 given numbers passed as command line arguments
Convert first1.txt file to hidden file
How to change permission of file as 644?
Write a script to find the value of one number raised to the power of another
Write a menu driven shell script for Copy a file, Remove a file, Move a file
Shell script to print first 5 odd numbers
Moving the text in unix
Special files in unix
Write a shell program to count number of words, characters, white spaces and special symbols in a given text
Overview of UNIX
Write a shell script to find the sum, the average and the product of the four integers entered
Shell Script to separate the colon from the given item
Prepare a menu driven calculator
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