I am supposed to find whether a file is compressed using .bz2 or .tar.bz2(without using extension of file) and
and decompress it accordingly. I used the
file
command but it is giving same result for both .bz2 and .tar.bz2. Please suggest a way to identify .bz2 and .tar.bz2 files distinctly.
Asked by charan priyatham
(83 rep)
Sep 15, 2019, 09:17 PM
Last activity: Sep 16, 2019, 09:07 AM
Last activity: Sep 16, 2019, 09:07 AM