#!/bin/bash stat=$(which stat) timestamp=$(/usr/bin/stat -c %Y /root/sync.log) echo "synclog_modified_timestamp $timestamp"