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:
3330
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:
Filters in unix
How would u get online help of cat command?
Shell Script for generating a mark sheet
Shell script to display the name of those files (in the given directory) which are having multiple links
Display information about all the current programs running
Menu driven program which has the options Contents of etc/passwd, List of the users who have logged in, Present working directory
Which command display version of the UNIX?
write a script to delete zero sized files from a given directory (and all its subdirectories)
Write a shell program to find the position of substring in given 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.
Write a script to count and report the number of entries in each subdirectory mentioned in the path, which is supplied as a command-line argument
How to find out difference between two files?
Shell script that prints names of all sub-directories present in the current directory
Write a shell script, which displays a list of all files in the current directory to which you have read, write and execute permissions
Write a shell script to find the largest among the 3 given numbers
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
Write a shell script to find the average of the numbers entered in command line
Write a shell script to find the smallest of three numbers
Shell Script to display the exit status using grep command which search a string from a string
Write a shell script to sort the given numbers in descending order using Bubble sort
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