dtrx: Intelligent archive extraction.dtrx stands for “Do The Right Extraction.” It's a tool for Unix-like systems that takes all the hassle out of extracting archives.
Here's an example of how you use it:
$ dtrx linux-3.0.1.tar.bz2 .
Let’s install it with this command:
sudo apt-get install dtrx