What is a difference between chown and chmod in Linux?

Experience Level: Junior
Tags: Linux

Answer

The chown command is an abbreviation for “changing owner”, you can use it for changing ownership of files, directories or symbolic links. The chmod command handles what users can do with a file once they have access to it, the chown command assigns ownership. 

Comments

No Comments Yet.
Be the first to tell us what you think.
Linux for beginners
Linux for beginners

Are you learning Linux ? Try our test we designed to help you progress faster.

Test yourself