how to write a script file in linux