News for hackers. Stuff that matters.
Re:Show HN: Extract it – Because nobody can remember tar com... by jamiesonbecker on Thursday September 10, 2015 @07:48PM (#10201242)
Or, add this to your .bashrc (ensure that it's sourced.. some distributions don't do this automatically):

     alias untar="tar xvf"

Then, open a new terminal window, and from then on it's just:

     untar filename.tar.gz
Re:Show HN: Extract it – Because nobody can remember tar com... by archinal on Thursday September 10, 2015 @08:41PM (#10201392)
Don't you need the z flag as well since filename is gzipped?
Re:Show HN: Extract it – Because nobody can remember tar com... by jamiesonbecker on Thursday September 10, 2015 @09:26PM (#10201520)
Not anymore! GNU tar now figures it out automagically :)
Re:Show HN: Extract it – Because nobody can remember tar com... by oofabz on Thursday September 10, 2015 @11:58PM (#10201943)
BSD tar also has this functionality. "tar -xf <filename>" works for archives compressed with gzip, bzip2, or xz.