IT Questions and Answers :)

Tuesday, April 13, 2021

In Linux, what is the result of this command: tar -xvf public_html.tar

In Linux, what is the result of this command: tar -xvf public_html.tar

  • Untar or extract public_html.tar to /home/public_html
  • 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 /root             

In Linux, what is the result of this command: tar -xvf public_html.tar


EXPLANATION

To untar or extract a tar file, just issue following command using option x (extract). For example the below command will untar the file public_html.tar in present working directory:

# tar -xvf public_html.tar

SOURCE

Share:

0 comments:

Post a Comment

Popular Posts