|
Quick Contact
1 845 202 0395

February 2010

Simple trick to extract any file in linux

In linux it can be a pain to remember how to extract archived files. To fix this we can create a command that will extract any archieve for us. Add the following to your ~/.bashrc # Extract files from any archive # Usage: ex <archive_name> ex () { if [ -f $1 ] ; then case $1 in *.tar.bz2) tar xjf $1 ;; *.tar.gz) tar xzf $1 ;; *.bz2) bunzip2 $1 ;; *.rar) rar x $1 ;; *.gz) gunzip $1 ;; *.tar) tar xf $1 ;; *.tbz2) tar xjf $1 ;; *.tgz)...

Epsilon sign up form


Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur excepteur sint occaecat cupidatat non

1337Hax Client Login