snipt

Ctrl+h for KB shortcuts

Bash

Extract a tar.bz2 file

$ tar xfjv some-file.tar.bz2
https://snipt.net/embed/d9790828ee2f9ce116f169ac40a61bc2/
/raw/d9790828ee2f9ce116f169ac40a61bc2/
d9790828ee2f9ce116f169ac40a61bc2
bash
Bash
1
2019-07-17T09:56:40
True
False
False
/api/public/snipt/34515/
extract-a-tarbz2-file
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$ tar xfjv some-file.tar.bz2 </span></pre></div> </td></tr></table>
tar

Bash

Extract a tar.gz file

$ tar xfzv some-file.tar.gz
https://snipt.net/embed/61c245aacff81c0e8cf8d4d383a91cf4/
/raw/61c245aacff81c0e8cf8d4d383a91cf4/
61c245aacff81c0e8cf8d4d383a91cf4
bash
Bash
1
2019-07-17T18:35:54
True
False
False
/api/public/snipt/14691/
extract-a-targz-file
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$ tar xfzv some-file.tar.gz </span></pre></div> </td></tr></table>
tar