how to zip with tar command

Shell
tar -czvf archive.tar.gz /usr/local/somethingtar -czvf name-of-archive.tar.gz /path/to/directory-or-filetar -czvf archive.tar.gz stuff
Source

Also in Shell: