$
Linux练习
练习
教程
English
한국어
日本語
中文
terminal
Welcome to Linux Practice Terminal!
Type "help" to see available commands.
user
@linux:
~
$
chmod(文件权限)
重置课程
学习使用ls -l和chmod查看和更改文件权限。
步骤 1
使用ls -l查看文件权限。
输入:ls -l documents/readme.txt
ls -l documents/readme.txt
步骤 2
使用chmod 755使readme.txt可执行(rwxr-xr-x)。
步骤 3
使用ls -l验证权限更改。
步骤 4
使用chmod 644恢复默认权限(rw-r--r--)。
步骤 5
检查setup.sh的权限 - 它应该已经是可执行的。