This is the problem: Write a script that will make a backup of a file giving it a �.bak� extension & verify that it works. I have tried a number of different scripts that haven't worked and I haven't seen anything really concise and to the point via google. For brevity's sake this is one of the scripts I have tried:
tar -cZf /home/students/fall2012/crn12143/ford/field1.bak /home/field1
I saved the script as rename and ran it from the command line. I am getting errors. The home directory is ford. All I want to do is take a file called field1 in the home directory and make a backup copy of it in the same directory and call it field1.bak.
Valencia Community College. Orlando, FL USA. Prof. D. Weeks. COP-2341-12143.