Using the Script 'UnixFileExample.sh' it is possible to obtain information about a file on a Unix based system.
An example on how to configure the Sensor can be found in the topic Scripts.
Executing the Script using the SSH Sensor will result in an output like this:
Last Access: 06.17.19 10:52
Last Write: 05.15.17 21:45
To obtain a specific value, regular expressions can be used.
For example, the size can be obtained using the regular expression with an anonymous group: