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:
3477
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:
Write a shells scripts which will receives a list of filenames,the first of whch would be wordfile
Shell script to change extension of an existing file
List all files start with a or A
Write a shell program to add, subtract and multiply the 2 given numbers passed as command line arguments
How to compare two files?
Is it possible to create and remover more than one directory together?
Create a file with 10 lines. Display lines from 5 to 8
Write a shell program to display the alternate digits in a given 7 digit number starting from the first digit
Add a new group to the system - groupadd
Shell script which takes year as an input and displays whether it is leap year or not. If year is not provided then take current year as an input
Write a shell program to count the characters, count the lines and the words in a particular file
Tee examples in unix
Combine two files to a single file
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
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
Shell Script for generating a mark sheet
Write a shell program to concatenate the contents of 2 files
Configure network interface parameters - ifconfig
Give example of paste command
Absolute movement in unix
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