snippetbashTip
lsattr — List file attributes on a Linux filesystem. More information: <https://manned.org/lsattr>.
Viewed 0 times
commandlsattrattributesclifilefilesystemlinuxlist
linux
Problem
How to use the
lsattr command: List file attributes on a Linux filesystem. More information: <https://manned.org/lsattr>.Solution
lsattr — List file attributes on a Linux filesystem. More information: <https://manned.org/lsattr>.Display the attributes of the files in the current directory:
lsattrList the attributes of files in a particular path:
lsattr {{path}}List file attributes recursively in the current and subsequent directories:
lsattr -RShow attributes of all the files in the current directory, including hidden ones:
lsattr -aDisplay attributes of directories in the current directory:
lsattr -dCode Snippets
Display the attributes of the files in the current directory
lsattrList the attributes of files in a particular path
lsattr {{path}}List file attributes recursively in the current and subsequent directories
lsattr -RShow attributes of all the files in the current directory, including hidden ones
lsattr -aDisplay attributes of directories in the current directory
lsattr -dContext
tldr-pages: linux/lsattr
Revisions (0)
No revisions yet.