Online Linux Terminal Logo
OnlineLinuxTerminal
← 实战教程•Intermediate

Linux Permissions & Chmod

Linux 社区2.4k 在线

与真实 Linux 用户交流,学习常用命令并免费获取精美速查表 PDF。

Lesson Objectives

Step 1: Inspect Permissions

Run `ls -l /var/log/auth.log`.

Step 2: Update Mode Bits

Run `chmod 755 /home/user/projects/demo.sh`.

Step 3: Restrict File

Run `chmod 600 welcome.txt`.

bash — terminal