Question: Write a bash script that copies the /etc/hosts file to a directory called /etc/backup. The copied file name should be hosts.bk in the etc/backup directory
Write a bash script that copies the /etc/hosts file to a directory called /etc/backup.
The copied file name should be hosts.bk in the etc/backup directory
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
