How do I turn off the output from tar commands on Unix?

Unix

Unix Problem Overview


I had a look at the options, but nothing seemed obvious as a manner in which to turn off the output when uncompressing a file. The below is the code I am currently using... I just need the option to switch off the output.

tar -zxvf tmp.tar.gz -C ~/tmp1

Unix Solutions


Solution 1 - Unix

Just drop the option v.

-v is for verbose. If you don't use it then it won't display:

tar -zxf tmp.tar.gz -C ~/tmp1

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionh.l.mView Question on Stackoverflow
Solution 1 - UnixP.PView Answer on Stackoverflow