Write syntax of chown and chmod.
Answers
Answered by
9
The chmod and chown commands are used to control access to files in UNIX and Linux systems.
The chmod command stands for "change mode", and allows changing permissions of files and folders, also known as "modes" in UNIX. The chown command stands for "change owner", and allows changing the owner of a given file or folder, which can be a user and a group. That's the difference between them in a nutshell.
They are interrelated in so far as changing ownership of a file changes who the set permissions apply to. The new owner inherits the permissions.
Let's take a quick look at the basic usage of these commands.
hopes this helps
please mark my answer as the most brainlistttttt
The chmod command stands for "change mode", and allows changing permissions of files and folders, also known as "modes" in UNIX. The chown command stands for "change owner", and allows changing the owner of a given file or folder, which can be a user and a group. That's the difference between them in a nutshell.
They are interrelated in so far as changing ownership of a file changes who the set permissions apply to. The new owner inherits the permissions.
Let's take a quick look at the basic usage of these commands.
hopes this helps
please mark my answer as the most brainlistttttt
Similar questions