CHGRP(1)
π CHGRP(1) β the General Commands Manual, but make it make sense
okay bestie so this is chgrp from the General Commands Manual and honestly? she's a whole vibe. she changes groups. that's the job. let me walk you through it π«Ά
β¨ NAME β¨
chgrp β change the group of each FILE to GROUP. that's it. that's the whole personality. π
πΈ SYNOPSIS πΈ
chgrp [OPTION]... GROUP FILE...
chgrp [OPTION]... --reference=RFILE FILE...
two ways in, bestie: either you tell her the group, or you point at a file and go "that one, do what that one's doing". π¦
π DESCRIPTION π
Change the group of each FILE to GROUP. literally the entire plot. no plot twist. no cap. β¨
π OPTIONS π
so many little switches, and every single one of them is here, i would never hide a flag from you:
--helpβ print help information. she'll explain herself. π-c,--changesβ like verbose, but she only reports when an actual change is made. lowkey the quieter sibling of-v.-f,--silent,--quietβ suppress most error messages. she's choosing peace today ποΈ-v,--verboseβ output a diagnostic for every file processed. every. single. one. she will not stop talking. iconic.--preserve-rootβ fail to operate recursively on/. this is the seatbelt, bestie, do not unbuckle it π₯--no-preserve-rootβ do not treat/specially. and that is the default, so don't come for me when it goes feral π--reference <RFILE>β use RFILE's group rather than specifying GROUP values. copy her group inspo straight from the source π--from <GROUP>β change the group only if its current group matches GROUP. conditional slay.-R,--recursiveβ operate on files and directories recursively. it's giving depth-first main character energy π-Hβ if a command line argument is a symbolic link to a directory, traverse it.-Lβ traverse every symbolic link to a directory encountered. full send. π¦-Pβ do not traverse any symbolic links. this one's the default, so she's the baseline bestie.--dereferenceβ affect the referent of each symbolic link (this is the default), rather than the symbolic link itself.-h,--no-dereferenceβ affect symbolic links instead of any referenced file. useful only on systems that can change the ownership of a symlink. read that again and don't be surprised when it's mild on your machine π-V,--versionβ print version. she'll tell you exactly who she is. π
okay small vibe check on the-H/-L/-Ptrio β those control symlink traversal when you're going recursive.-Pis the default.--dereferenceis the default too. defaults are doing a lot of heavy lifting in this manpage and they deserve respect. β
β VERSION β
v(uutils coreutils) 0.12.0
and that's the whole page, bestie! π before you go β huge shoutout to the source, v(uutils coreutils) 0.12.0, dated 2026-09-17, filed under CHGRP(1). go change some groups, stay hydrated, and don't recursively touch / unless you truly mean it ππ§ββοΈ
π¦ where this page comes from
- arch rolling: uutils-coreutils 0.12.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms