Merge pull request #666 from Cvetomird91/lsattr
lsattr: readed the page
This commit is contained in:
23
pages/linux/lsattr.md
Normal file
23
pages/linux/lsattr.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# lsattr
|
||||||
|
|
||||||
|
> List file attributes on a Linux file system.
|
||||||
|
|
||||||
|
- Display the attributes of the files in the current directory:
|
||||||
|
|
||||||
|
`lsattr`
|
||||||
|
|
||||||
|
- List the attributes of files in a particular path:
|
||||||
|
|
||||||
|
`lsattr {{path}}`
|
||||||
|
|
||||||
|
- List file attributes recursively in the current and subsequent directories:
|
||||||
|
|
||||||
|
`lsattr -R`
|
||||||
|
|
||||||
|
- Show attributes of all the files in the directory, including hidden ones:
|
||||||
|
|
||||||
|
`lsattr -a`
|
||||||
|
|
||||||
|
- Display attributes of directories:
|
||||||
|
|
||||||
|
`lsattr -d`
|
Reference in New Issue
Block a user