Home > Software design >  How do I change owner and group owner of files and directories?
How do I change owner and group owner of files and directories?

Time:09-08

I want to change the owner and the group owner for all the files in the current working directories with a single line command. I don't want to have double line as follows;

sudo chown you <some_file> chgrp new_group some_file

CodePudding user response:

sudo chown you:new_group some_file

  • Related