lsattr(list attribute)
lsattr(list attribute)功能说明:显示文件属性。
语 法:lsattr [-adlRvV][文件或目录...]
补充说明:用chattr执行改变文件或目录的属性,可执行lsattr指令查询其属性。
参 数:
-a 显示所有文件和目录,包括以"."为名称开头字符的额外内建,现行目录"."与上层目录".."。
-d 显示,目录名称,而非其内容。
-l 此参数目前没有任何作用。
-R 递归处理,将指定目录下的所有文件及子目录一并处理。
-v 显示文件或目录版本。
-V 显示版本信息。
lsattr
lsattr [options] [files]
Print attributes of files on a Linux Second Extended File System. See also chattr.
Options
List all files in specified directories.
List attributes of directories, not of contents.
List version of files.
List directories and their contents recursively.
List version of lsmod, then exit.