Hi, i'm a newbie with unix and shell scripting. I'm just trying to do a script to simply automate a unix task. This are the steps on what i want to just run on a simple shell script
1. go to a specific path (cd /folder1/folder2/)
2. edit and input a number on a file (file_id) then save exit (using vi)
3. run a korn shell script then once the korn shell script finished running
4. go to a specific folder
5. copy a file to a specific folder
can this be automated using shell script? or is there a better way to automate this task. TIA