Skip to content
masterclass Buddy

Linux & Shell · Command

chown

chown changes the user owner, group owner, or both for files. It also supports recursive changes and copying ownership from a reference file.

Last updated

Syntax

chown [OPTION]... [OWNER][: [GROUP]] FILE ...
chown [OPTION]... --reference=RFILE FILE ...

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • chgrp(1)
  • chown(2)
  • chmod(1p)
  • symlink(7)

Source: chown(1) - Linux manual page. Checked 2026-11-03.