Question: what is the difference between tar and gzip in linux?
Answer: These are archives of multiple files compressed together. In Unix and Unix-like systems (like Ubuntu), archiving and compression are separate. tar puts multiple files into a single (tar) file. gzip compresses one file (only).