Forensic scripting using bash