---

How to Create a Tar File in Linux

Answer: If you want to create a single tar archive files from several files or directory, you can use the tar command for this purpose. The simplest way to do this is by using the command in the following fashion:

tar -cvf file_name.tar <path_to_directory>