I am very new to Unix. Please help me to write a script.
Here is the discription of what the script should do:
The script won't need to be horribly complex; it's to check to see if the hawkagents(a process) on a server have been restarted since the last update to the Hawk rule files or the user variables file, and to generate an error message if they have not been.
-Please help me in finding last update time of a file.
-And last restarted time of a process.
-And how to capmare the date-time of above to times.
Thanks in advance.