Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ chgrp(1) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chmod(1)

chown(1)

groups(1)

id(1)

logname(1)

ls(1)

group(4)

passwd(4)



chgrp(1)                       DG/UX 5.4R3.00                       chgrp(1)


NAME
       chgrp - change the group ownership of a file

SYNOPSIS
       chgrp [-R] [-h] group file ...

DESCRIPTION
       chgrp changes the group ID of the files given as arguments to group.
       The group may be either a decimal group ID or a group name found in
       the group ID file, /etc/group.

       You must be the owner of the file, or be the super-user to use this
       command.

       Valid options to chgrp are:

       -R     Recursive.  chgrp descends through the directory, and any
              subdirectories, setting the specified group ID as it proceeds.
              When symbolic links are encountered, they are traversed.

       -h     If the file is a symbolic link, change the group of the
              symbolic link.  Without this option, the group of the file
              referenced by the symbolic link is changed.

EXAMPLES
       $ chgrp 1009 chapter

       If you own a file chapter, the new group will be the group named by
       the numeric group ID 1009.

       $ chgrp work *

       This command changes the group for all the files you own in the
       current directory.  The new group will be the group with the group
       name work.  work must be a valid group name listed in the /etc/group
       file.

FILES
       /etc/group

SEE ALSO
       chmod(1), chown(1), groups(1), id(1), logname(1), ls(1).
       group(4), passwd(4).














Licensed material--property of copyright holder(s)                         1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026