lsattr
From Wikipedia, the free encyclopedia
lsattr is a command-line program for listing the attributes on a Linux second extended file system (ext2).[1] It is also a command to display attributes of devices on an AIX operating system.[2]
Options [edit]
The form of the lsattr command (gnu 1.41.3):
lsattr [ -RVadv ] [ files... ]
- -R Recursively list attributes of directories and their contents.
- -V Display the program version.
- -a List all files in directories, including files that start with '.'
- -d List directories like other files, rather than listing their contents.
- -v List the file’s version/generation number.
Attributes [edit]
Some attributes include:
- don't update atime (A)
- synchronous updates (S)
- synchronous directory updates (D)
- append only (a)
- compressed (c)
- no dump (d)
- immutable (i)
- data journaling (j)
- secure deletion (s)
- top of directory hierarchy (T)
- no tail-merging (t)
- undeletable (u)
- use hashed b-trees for directory lookups (I)
See also [edit]
|
||||||||||||||||||||||||||||||||
References [edit]
| This Unix-related article is a stub. You can help Wikipedia by expanding it. |