How to change file group in linux


Modify the group of file1.txt in linux to user1


chown :user1 file1.txt


chown :   modify the owner or all groups of the file

Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.