How many licks does it take to get to the center of a tootsie pop?
👉 So, a zip file huh? let's check it out.
clearly, this is a deeply compressed file. Also as a scripting challenge, this must be much deeper. Further, as we can see in first decompression, the extension or type of compression differs. So, let's do some hit and trial to find different kind of compression used.
Now, the problem statement is:
Hence, The steps to overcome the problems are:
file
command in bash is handy to determine if a file is a compressed one.file
command with cut
can give type of compression used.ls
command.Hence, now following the algorithm, the resulting script is: