What utility can I use to create an archive Linux?
- tar Command. tar is the standard UNIX/Linux archiving application tool.
- ar Command. ar is the creation and manipulation utility for archives, mainly used for binary object file libraries.
How do I view a Linux archive file?
- Using Tar command. To list the contents of a tar archive file, run: $ tar -tf ostechnix.tar ostechnix/ ostechnix/image.jpg ostechnix/file.pdf ostechnix/song.mp3.
- Using Rar command.
- Using Unrar command.
- Using Zip command.
- Using Unzip command.
Which utility can be used to create archive in RHEL? We can use the tar tool to create, list, and extract files from archives. Archives made with tar are normally called “tar files,” “tar archives,” or—since all the archived files are rolled into one—“tarballs.”
How do you create an archive file in Linux? To create a tar archive, use the -c option followed by -f and the name of the archive. You can create archives from the contents of one or more directories or files. By default, directories are archived recursively unless –no-recursion option is specified.