How to change file owner in linux


 description

Modify the user of file1.txt in linux as user1

 command

chown user1 file1.txt

 parameter

chown :  modify the owner or all groups of the file

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.