Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task1 (10pts) . backup a file to a destination in the local machine Note, you can choose any file to copy to any destination. Task2(10pts)
Task1 (10pts). backup a file to a destination in the local machine
- Note, you can choose any file to copy to any destination.
Task2(10pts). backup the /etc directory to a destination in the local machine
- Note, you can choose the destination.
- Note, administrator permission is needed to copy /etc
Task3(30pts). Backup the /etc. directory to a destination in a remote machine
- If you don't have a remote device, create one in the same network.
- ) for the detailed installation of Ubuntu 20.04
- If OpenSSH-server is not installed on the remote machine, please install it before copying the directory. Click here (document
- ) for the detailed installation of OpenSSH-server
Task4 (20pts). Create a script to back up /etc. directory to a destination in the local machine. Use crontab -e command to automate the backup. Below please find more requirement in task4.
- The destination directory's name should contain the day, month, and year information.
- Back up the /etc daily. You could choose any time to backup.
Task5(10pts). Write a script to test whether two words are the same or not.
- Ask the reader to input two words. If these two words are the same, print "Match" to the screen; if different, print "No match" to the screen.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started