Open main menu

CDOT Wiki β

Changes

OPS245 Lab 3 dev

267 bytes added, 20:26, 8 February 2023
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>