Question: Close the terminal, and open a new terminal session. Create a new directory ~/backups Accomplish the following steps by typing on the command line within

  1. Close the terminal, and open a new terminal session.
  2. Create a new directory ~/backups
  3. Accomplish the following steps by typing on the command line within a period of a couple minutes so the timestamps will be similar:
  • Navigate to ~/backups
  • ls ~/Documents
  • Run your doc-backup script.
  • tar -tf to see the contents. (If this produces a large amount of output, be sure you cut it down to a few lines in the terminal capture later.)
  • Run doc-backup a second time.
  • cat ~/scripts/doc-backup to show your script code
  • Execute the date +%y%m%d-%s command to get a timestamp on the command line.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!