Extract multiple tarf.gz files at once

If you have to extract multiple *.tar.gz file in a directory youcan use this command:

for a in `ls -1 *.tar.gz`; do tar -zxvf $a; done

In stead of extracting tar.gz file one by one this command-line command do this at once for you.