Linux查看文件或目录权限
Linux274
description
在Linux中查看文件file1.txt的权限
command
ls -l file1.txt
parameter
ls : 列出文件的相关信息,默认为当前目录 -l : 使用长列表格式
result
-rw-r--r-- 1 root root 0 Jun 16 00:40 file1.txt
ls -l file1.txt
ls : 列出文件的相关信息,默认为当前目录 -l : 使用长列表格式
-rw-r--r-- 1 root root 0 Jun 16 00:40 file1.txt
I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.