linux-system-files
Retrieves permissions and MD5 hashes of files in the /usr/bin directory.
Syntax
linux-system-files [md5=BOOL]
Optional Parameter
md5=BOOL
- Boolean option to output the MD5 hash of files (default:
f
)t
: outputs the MD5 hash of filesf
: NOT output the MD5 hash of files
Description
After running the linux-system-files command, the output fields are as follows:
Output Fields
Field | Type | Description |
---|---|---|
file_path | String | File path |
file_name | String | File name |
file_type | String | File type |
permissions | String | Permissions |
file_size | Long | File size |
file_ctime | Date | Last change time |
file_mtime | Date | Last modification time |
file_atime | Date | Last access time |
md5 | String | MD5 hash of the file |
owner_read | Boolean | Whether owner's read permission is given to the file. |
owner_write | Boolean | Whether owner's write permission is given to the file. |
owner_execute | Boolean | Whether owner's execute permission is given to the file. |
group_read | Boolean | Whether group's read permission is given to the file. |
group_write | Boolean | Whether group's write permission is given to the file. |
group_execute | Boolean | Whether group's execute permission is given to the file. |
others_read | Boolean | Whether others' read permission is given to the file. |
others_write | Boolean | Whether others' write permission is given to the file. |
others_execute | Boolean | Whether others' execute permission is given to the file. |