715
edits
Changes
→Part 1: Creating a File Archive
#Boot up your '''rhel3''' VM.
#Tar may not be installed by default. Confirm by issuing the command '''which tar'''. If the output indicates tar is not on the system, install it with the following command. If it is found, skip the next step
#Install tar (if it was missing) sudo dnf install tar
#Change your working directory to '''/usr/share/doc/sudo*'''
#Use the tar (tape archiver) command to create an archive file named "/tmp/archive1.tar" by issuing the following command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">tar cvf /tmp/archive1.tar .</span></code></b>