IT Questions and Answers :)

Wednesday, May 19, 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 /root
  • Untar or extract public_html.tar to /home/public_html
  • Untar or extract public_html.tar to the current directory
  • Create a new public_html.tar archive using the files in the current directory        
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

https://www.tecmint.com/18-tar-command-examples-in-linux/

       
Share:

0 comments:

Post a Comment

Popular Posts