GNU/Linux Command – LSATTR

lsattr — List special file attributes on a Ext2 FS

Summary:

Apart from normal access permission (RWX) attributes, Ext2 File System (FS) is providing few extra bit to set some special attribute to each file in the FS. lsattr command is used to display the file’s special attributes on a Ext2 or Ext3 FS.

Examples:
$ lsattr myFile -- List file attributes of myFile. $ lsattr -- List file attributes of all file in current Dir. $ lsattr -R -- Same as above but list Recursively. $ lsattr -a -- List all files including files that start with `.'
Read: man lsattr

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: