• Home
  • Docker
  • Kubernetes
  • LLMs
  • Java
  • Ubuntu
  • Maven
  • Big Data
  • Archived
Linux-Ubuntu | chown -- change file owner and group
  1. Notes
  2. Examples
  3. Command Help (man chown)

  1. Notes

    The chown command changes the owner and/or the group of files and directories.
  2. Examples
    • Change the owner of "folder1" to "user1".

    • Change the owner of "folder1" (and its files and sub-directories) to "DOMAIN\user2".
      Use the escape character "\" to escape the character "\".
      You can also use the double quote character """ to delimit the folder path to escape the character "\".

    • Change the owner of "folder1" to "user3" and its group to "group3".

    • Change the group of "folder1" to "group4".
  3. Command Help (man chown)
    The following options can be used:
© 2025  mtitek