What will the following command do? # tar -xvf public_html.tar
- Create a new public_html.tar archive using the files in the current directory
- Untar or extract public_html.tar to the current directory
- Untar or extract public_html.tar to /home/public_html
- Untar or extract public_html.tar to /root
EXPLANATION
Extracting an Archive using the Linux tar command
tar -xzvf archiveToExtract.tar.gzThis will extract all files in the archive in the current directory, the only flag that is changed is the -c (for creating) with the
x – extract the archive
0 comments:
Post a Comment