summaryrefslogtreecommitdiff
path: root/Base/usr/share/man/man1/chgrp.md
blob: d4cdbe15abf62bc319a3f10f481712cf7ebaa87f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## Name

chgrp - change group ownership of file

## Synopsis

```**sh
$ chgrp <gid> <path>
$ chgrp <name> <path>
```

## Description

`chgrp` called as root or as file owner changes owning group of specified `path` to `gid` or `name`.

## Examples

```sh
# Change group of README.md to 111
# chgrp 111 README.md

# Change group of README.md to root
# chgrp root README.md
```

## See also

* [`chmod`(1)](help://man/1/chmod)
* [`chown`(1)](help://man/1/chown)