# chgrp
## Command Function
This command is used to change a file group.
## Syntax
chgrp \[_group_\] \[_pathname_\]
## Parameter Description
**Table 1** Parameters
Parameter
|
Description
|
Value Range
|
group
|
Specifies the file group.
|
[0, 0xFFFFFFFF]
|
pathname
|
Specifies the file path.
|
An existing file
|
## Usage
Specify \[_group_\] to change the file group.
## Example
Run **chgrp 100 hello-harmony.txt**.
## Output
**Figure 1** Changing the group of the **hello-harmony.txt** file to **100**
