Linux DevopsRoles.com

chown command in Linux with Examples

chown command means Change an owner of a file and/or the group the file is associated with.

Syntax

chown [OPTION]… [OWNER][:[GROUP]] FILE…
chown [OPTION]… –reference=RFILE FILE…

On the man page, the describes it

  •  – change file owner and group.
  • man  – More details information about chown .

chown command in Linux with Examples

$ chown huupv:huupv mydevops.txt

Conclusion

chown command is a simple command in Linux. It is the most popular in use terminal Linux change file owner and group. Thank you for reading the DevopsRoles page!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.