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:
3320
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:
Pipes examples in unix
Write a shell program to concatenate the contents of 2 files
Program to convert and print this distance in meters, feet, inches and centimeters
Write a shell program to concatinate two strings and find the length of the resultent string
Write a shell script that takes a file names as a argument and deletes this file from every directory above the present working directory.
Suppose four filenames are supplied then the first file should get copied into second file, the third file should get copied into four
Write a shell script to find sum of digits of a number
Prepare a menu driven calculator
Write a shell program to convert all the contents into the uppercase in a particular file
How delete directory with files?
Write a menu driven program to display message, user name, terminal name, login date and time
Write shell script that takes a file name as an argument and deletes this file from every directory above the pwd
Write a shell program to concatenate the contents of 2 files
Shell script that takes filename or the filename with its full path as an input during execution and display ls -l command result for inputted file
List all files start with a or A
Script to print all prime numbers from 1 to 300
Update access, modification, and / or change times of file - touch
Write a shell script, which displays a list of all files in the current directory to which you have read, write and execute permissions
Add a new group to the system - groupadd
Shell Script to separate the colon from the given item
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