Linux Headquarters

I've installed Linux… now what???

Introduction
chgrp is a standard Unix/Linux command that allows you to change the group of a file/directory. To view the current group of a file, execute the following command:
ls -l.
This will display the files in the current directory in long format. The fourth column in the table is the group that the file/directory is associated with. For further information on reading permissions, see the Reading Files/Directories Permissions guide.

Using chgrp
To change the group of a file/directory, you must either be the owner and a member of the group you want to change the file/directory for or you must be root. Execute the following command:
chgrp group hello (where group is the new group and hello is the name of the file or directory you want to change the owner for)
Thus, chgrp linuxhq chgrp.html would change the group of the file chgrp.html to linuxhq.

What is Related

Comments are closed.

Subscribe to email feed

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Dedicated Linux Serv

Linux is the popular system nowadays, offering all the benefits ...

StarOffice 5.1

Introduction StarOffice 5.1 is a complete office suite with a word ...

AxY FTP

Introduction AxY FTP, formerly known as wxFTP, is a graphical FTP ...

Adobe Acrobat PDF Re

Introduction Many of you are probably familar with Adobe Acrobat Reader ...

Macromedia Shockwave

Introduction Macromedia has developed a version of its popular Shockwave plugin ...

Twitter updates

No public Twitter messages.