• Tutorial on using tar command to compress and decompress files in Linux system


    Tar command in Linux The tar (tape Archive) command is often used in Linux systems to store files into an archive file. Its common file extensions include: tar. GZ and tar. Bz2, respectively, indicates that further compression has been carried out through gzip or bZIP algorithm. In this tutorial, we will take a peek at […]

  • Tutorial on archiving files using tar tool under Linux


    Derived from’tape archiver ‘, tar was originally used to archive and store files on tape. Tar is a GNU software that can compress a set of files (archives), extract them, and perform related operations on existing archives. It is useful for storing, backing up, and transferring files. When creating archive files, tar can keep the […]

  • Compression, packaging and decompression of files under Linux system


    handle. Zip and unzip of zip file   Zip and unzip programs are located in the /usr/bin directory. They have the same functions as PKZIP and pkunzip under MS – DOS and winzip software of MS Windows. They can compress files into Zip file to save hard disk space, and unpack the compressed file when […]

  • Tutorial on extracting tar files into different directories on Linux systems


    You don’t have to use the CD command to switch to another directory and extract it. You can extract a file using the following syntax:grammar Typical UNIX tar syntax:     Copy code The codes are as follows: tar -xf file.name.tar -C /path/to/directory Gnu/tar syntax:     Copy code The codes are as follows: tar xf file.tar […]

  • Installation and uninstallation of software under Linux system


    1、 Understanding Linux applicationsinstallPackage: Generally, Linux application softwareinstallThere are three kinds of packages: 1) tar package, such as software-1.2.3-1 tar. gz。 It is packaged using tar, a packaging tool for UNIX systems. 2) RPM package, such as software-1.2.3-1 i386. rpm。 It is a package encapsulation format provided by RedHat Linux. 3) dpkg package, such as […]

  • Installing GD under Linux


    Before installing Gd, you need to install jpeg-6b, libpng, zlib and freetype. The following is the download URL: http://www.libgd.org/DownloadsGD Download ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gzJPEG Download http://www.libpng.org/pub/png/libpng.htmlPng Download http://www.zlib.net/zlib-1.2.3.tar.gzZlib Download http://www.freetype.org/Freetype Download 1.installzlib tar zxvf zlib-1.2.3.tar.gz cd zlib-1.2.3 ./configure make make install 2.installlibpng tar zxvf libpng-1.2.29.tar.gz cd libpng-1.2.29 cd scripts/ mv makefile.linux ../makefile cd .. make make install Note […]

  • Details of tar compression and decompression files in golang


    catalogue 1. Compress and output tar GZ document 2. Tar decompression Check the official documents and the official Demo: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 […]

  • Method of adding password when packaging tar file under Linux


    There is a folder of PMA directory under the current directory: 1. Use tar to compress and encrypt files: Copy code The code is as follows: # tar -zcvf – pma|openssl des3 -salt -k password | dd of=pma.des3 When you finish, you will get a packaged file of pma.des3, and replace the password with the […]

  • Linux file search and other basic commands (3)


    1. Linux contains a large number of files, for file search, Linux provides the find command. Find is a very effective tool. It can traverse the target directory or even the entire file system to find some files or directories find [path…] [expression] amongexpressionThere are three types: options, tests and actions. Multiple expressions are separated […]

  • The simple use of tar command under Linux and the solution to related errors


    Tar is the most commonly used packing and compressing tool in Linux. It plays a role similar to winzip or WinRAR in windows. The following are the common command parameters and application examples of the tool:Main command:-C create package-X unpack-T list the contents of the package-R add files to the specified package-U update files in […]

  • Linux CentOS 6.5 uninstall, tar install MySQL tutorial


    Uninstall MySQL from the system 1. Check whether MySQL is currently installed in the system rpm -qa|grep -i mysql 2. Uninstall the current version of MySQL yum remove mysql mysql-server mysql-libs mysql-server Choose “Y” in the process of unloading Check again and no information indicates that it has been unloaded 3. Find the residual files […]

  • Summary of using skills of tar command in Linux system


    The Linux tar command is a powerful weapon when archiving or distributing files. The GNU tar archive can contain multiple files and directories, retain its file permissions, and support multiple compression formats. Tar stands for “tape archiver”, which is the POSIX standard.Tar file formatIntroduction to tar compression level: Uncompressed, uncompressed files end with. Tar.Gzip compression […]