Home > System Tutorial > LINUX > Learn how to use chown and chmod commands in Linux systems

Learn how to use chown and chmod commands in Linux systems

WBOY
Release: 2024-01-03 09:24:36
forward
1464 people have browsed it

There are many commands in the Linux system, but for file management, the most commonly used commands are chmod and chown. How to use the chmod and chown commands? Let’s take a look at the detailed graphic tutorial below.

1. First, open the Linux system of the computer. Then enter the student user.

Learn how to use chown and chmod commands in Linux systems

2. Secondly, use the cd command to enter the desktop file. Create another folder jiap.

Learn how to use chown and chmod commands in Linux systems

3. Thirdly, cd jiap enter the jiap folder. Create the jiap.txt file again.

Learn how to use chown and chmod commands in Linux systems

4. Fourth, check the permissions of the jiap file. Then tail /etc/group commandcheck all groups.

Learn how to use chown and chmod commands in Linux systems

5. Fifth, use chown to change the permission group of the jiap folder. Check the permission group of jiap again.

Learn how to use chown and chmod commands in Linux systems

6. Sixth, use chmod to change the read, write and execute permissions of the file. This completes the basic usage of chmod and chmod commands.

Learn how to use chown and chmod commands in Linux systems

The above is the detailed content of Learn how to use chown and chmod commands in Linux systems. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template