Quantcast
Channel: » AIX
Viewing all articles
Browse latest Browse all 11

How to Change group ownership of files and directories in Linux?

$
0
0

In Linux Operating System, Every user is a member of one or more groups. And these files and directories are owned by the group.
This is known as their “group ownership”.
So to list the group ownership of your files use the below command:
#ls -gl
And also if you want to change the group ownership of a file or directory then use the this command:

#chgrp (group_name) (file/directory_name)

Exa: #chgrp 300 /expertisenpuru

That’s it 

It's only fair to share...Share on FacebookShare on Google+Share on LinkedInPin on PinterestShare on RedditShare on StumbleUponShare on TumblrDigg thisTweet about this on Twitter

Viewing all articles
Browse latest Browse all 11

Trending Articles