Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sorry for offtopic, but I find it strange that so many people find it hard to remember, it's just: e(x)tract, be (v)erbose and use (f)ile. If it was gzipped add -z. If you're compressing the file use -c (for compress) instead of -x. To me it was one of the easier commands to memorize...


A few extra tips for tar:

-xvf is sufficient even if the archive is compressed

The dash is optional as well. tar xvf archive.tar.gz works just fine.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: