Linux .bashrc to extract many archives

This is just a new function to uncompressing many files like:

.tar.bz2,.tar.gz,.bz2,.rar,.gz,.tar,.tbz2,.tgz,.zip,.Z,.7z

Open .bashrc file from home/user folder.

With your text editor and add the next function on the end of the file.

Open a new terminal. This will work with the new function from .bashrc.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.