Complete the following:
1. With your system up and running, open a terminal session.
2. Change to your root user account.
3. At the shell prompt, enter tar –cvf /mnt/newdisk/backup.tar /home.
4. Enter ls /mnt/newdisk. Verify that the backup file exists.
5. Change to the /tmp directory by entering cd /tmp at the shell prompt.
6. Extract the tar file to the current directory by entering tar –xvf /mnt/newdisk/backup.tar.
7. Use the ls command to verify that the files from the tar archive were extracted to the current directory.
8. Switch back to your regular user account by entering exit.
No comments:
Post a Comment