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:
3411
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:
How would u get today’s date?
Display your current working directory
Write a shell program to exchange the values of two variables
Shell script to measure size of a file
write a script to delete zero sized files from a given directory (and all its subdirectories)
How to compare two files?
Display file in column format
Write a shell program to find the gcd for the 2 given numbers
Write a menu driven shell script for Copy a file, Remove a file, Move a file
Pipes examples in unix
Change a permission of a file
Shell script that prints names of all sub-directories present in the current directory
Shell script to change extension of an existing file
Copy abc.txt into xyz
Shell script to perform operations like display, list, make directory and copy, rename, delete, edit file
Write a shell program to concatinate two strings and find the length of the resultent string
How would you know machine’s name in the network?
Find out how many users are currently working.
Shell script which whenever gets executed displays the message “Good Morning/Good afternoon /Good Evening “depending on the time it get executed"
Display the already mounted file system - mount
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