typing “man tar” will get you the manual page for tar, that’s very helpful. It explains what all of the possible options are and what they do. http://www.linuxheadquarters.com/howto/basic/tar.shtml this also looks like a nice webpage with examples.
Basically, it looks like this:
To create: tar -cvf whatever.tar folder
to extract : tar -xvf whatever.tar