Unix script undo