Changing Owner And Group At The Same Time Linux Command
Posted On Tue Jul 12, 2011 By mel In Linux wallpaper Hosting forums topics about gallery sites in linux systems Forums
today i will show you how you can change ower and group with the chown command in linux
very simple, lets say i have a file called myfriends.txt and the owner is OldUser and group is OldGruop and i want to change the owership to NewUser and NewGroup. to so change:
FROM:
OldUser OldGroup myfriends.txt
TO:
OldUser OldGroup myfriends.txt
i would use this command:
LINUX SHELL COMMAND:
if i had a directory called myfriends/ i would change all the files in that directory with this command:
COMMAND:
hope that helps
very simple, lets say i have a file called myfriends.txt and the owner is OldUser and group is OldGruop and i want to change the owership to NewUser and NewGroup. to so change:
FROM:
OldUser OldGroup myfriends.txt
TO:
OldUser OldGroup myfriends.txt
i would use this command:
LINUX SHELL COMMAND:
chown OldUser:OldGroup myfriends.txt
if i had a directory called myfriends/ i would change all the files in that directory with this command:
COMMAND:
chown -R OldUser:OldGroup myfriends/
hope that helps
Related Content
Information
Forums »
Linux wallpaper Hosting forums topics about gallery sites in linux systems »
Changing Owner And Group At The Same Time Linux Command
Linux wallpaper Hosting forums topics about gallery sites in linux systems »
Changing Owner And Group At The Same Time Linux Command
Title: Changing Owner And Group At The Same Time Linux Command
Description: today i will show you how you can change ower and group with the chown command in linux
Tags: linux ,chown ,command ,user ,group ,change
Info: This Post Has Been Viewed 0 Times Since
Date: Tue Jul 12, 2011
Author mel Received 0 Replies #532
Date: Tue Jul 12, 2011
Author mel Received 0 Replies #532
Share
URL: 

Embed: 

To embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it
BBCODE:: 

BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
wallpaperama | Wallpapers | Forums | Terms Of Service
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5