CHGRP(1)

πŸ“¦ version 0.12.0, in arch rolling

πŸ’… 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 / -P trio β€” those control symlink traversal when you're going recursive. -P is the default. --dereference is 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