Name

lsattr — stdin  stdout  - file  -- opt  --help  --version

Synopsis

lsattr [options] [files]

If you set extended attributes with chattr, you can view them with lsattr (list attributes). The output uses the same letters as chattr; for example, this file is immutable and undeletable:

$ lsattr myfile
-u--i--- myfile

With no files specified, lsattr prints the attributes of all files in the current directory.

Useful options

-R

Recursively process directories.

-a

List all files, including those whose names begin with a dot.

-d

If listing a directory, do not list its contents, just the directory itself.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.11.98