cmdxray / commands / chown

What does chown do?

change file owner and group.

▸ Explain your own chown command →

chown examples, explained

$ chown -R user:group dir

  • chownchange file owner and group
  • -Rapply changes recursively
  • user:groupan argument passed to the command
  • diran argument passed to the command

chown flags & options

-Rapply changes recursively
-vverbose — report each change
-haffect symlinks themselves, not their targets

Other commands

Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.