Linux BASH script to save uptime record.