Operating systems: administration, configuration, coding

How to pack a folder in tar.gz?