Tar-Command-in-Linux-with-Practical-Examples

use ‘-x’ option in the tar command as shown below. # tar -xvf archive.tar Above command will extract all the files and directories of archive.tar file

2022-10-07


Tar-Command-in-Linux---Options--Examples

we learn about tar command in Linux to create compressed or uncompressed archive files. We will also go through how to extract files using the tar com

2022-03-15


18-Useful-Tar-Command-Examples-for-Every-Linux-Sysadmin

tecmintbackup.xml 12. Untar Single file from tar.bz2 File in Linux To extract a single file called index.php from the file Phpfiles-org.tar.bz2 use th

2021-08-10


How-to-Create-Backup-with-tar-Command-in-Linux

complete option would be ‘-xpvf’. Example is shown below $ sudo tar -xpvf system-back.tgz This command will extract system-back.tgz in the current wor

2021-08-02



How-to-Install-tar-in-CentOS-RHEL-and-Fedora

5 Best Command Line Archive Tools for Linux Note that tar does not compress archive files by defaultcommonly known as a tarball for backup or distribu

2020-07-24


How-to-Download-and-Extract-Tar-Files-with-One-Command

//geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz | sudo tar -xz -C /etc/nginx///geolite.maxmind.com/download/geoip/database/GeoL

2017-11-25


Linux-Basics-14-Tar-Command-Examples-in-Linux

tar -jtvf raj_home.tar.bz2tar -ztvf raj_home.tar.gz

2017-11-07


How-to-Compress-and-Decompress-a-bz2-File-in-Linux

we will look at how to compress and decompress .bz2 files using the bzip2 tool in Linux. Bzip2 is a well known compression tool and it’s available on

2016-11-03



17-Useful-Tar-Command-with-Practical-Examples-in-Linux

[[email protected] ~]# Example 2) List the content of archive file Using ‘–t‘ option in tar command we can view the content of tar files without extra

2016-09-11


How-to-Extract-Tar-Files-to-Specific-or-Different-Directory-in-Linux

# tar -xf file_name.tar.gz --directory /target/directory# tar -xf file_name.tar -C /target/directory

2016-01-02