Chgrp
Encyclopedia : C : CH : CHG : Chgrp
- The correct title of this } is }}}. The initial letter is capitalized due to [Naming conventions #Lower case first lettertechnical restrictions].
Usage
The general syntax of the chgrp command is:
chgrp group target1 [target2 ..]
- The group parameter indicates the new group with which the targets should be associated.
- The target parameters indicate the files or directories for which the change should not be made.
Footnote: The group parameter may either be a symbolic name or an identifier.
Usage example
$ls -l ttt -rw-r--r-- 1 gbeeker staff 545 Nov 04 2004 ttt $chgrp system ttt $ls -l ttt -rw-r--r-- 1 gbeeker system 545 Nov 04 2004 tttThe above command changes the group associated with ttt to 'system', provided the executing user is a member of that group.
See also
External links
| Unix command line programs ( ) | |||
| File and file system management: | cat | chdir/cd | chmod | chown | chgrp | cp | du | df | fdupes | file | fsck | ln | ls | lsof | mkdir | more | mount | mv | pwd | rcp | rm | rmdir | split | touch | tree | ||
| Process management: | anacron | at | chroot | cron/crontab | kill | nice | ps | sleep | time | timex | top | renice | wait | ||
| User Management/Environment: | env | finger | id | locale | mesg | passwd | su | sudo | uname | uptime | w | who | write | ||
| Text processing: | awk | cut | diff | ex | head | iconv | join | less | more | nkf | paste | sed | sort | tail | tr | uniq | wc | xargs | ||
| Shell programming: | echo | expr | unset | Printing: | lp |
| Communications: inetd | netstat | ping | rlogin | traceroute | Searching: egrep | fgrep | find | grep | strings | Miscellaneous: banner | bc | cal | man | uname | wall | yes | |
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
