You can view various kinds of specific information of the file: The digital form of the file permission 0664;uid, the number form of the GID's permission, etc.
More Usage Reference Stat--help
Lsattr test.sh to view other properties of a file: read-only, write-only properties, and so on
The Linux chattr command is used to change file properties.
This directive alters the file or directory attributes stored on the ext2 file system, which have the following 8 modes:
- A: Make the file or directory available for additional use only.
- B: Do not update the last access time of the file or directory.
- C: Compress the file or directory and store it.
- D: Exclude files or directories from dumping operations.
- I: Do not alter the file or directory arbitrarily.
- S: Privacy delete files or directories.
- S: Update files or directories instantly.
- U: Prevent accidental deletion.
Http://www.runoob.com/linux/linux-comm-chattr.html
Linux command Stat, view file details