Tag:tar

  • Method of adding password when packaging tar file under Linux

    Time:2021-10-4

    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)

    Time:2021-4-2

    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

    Time:2021-3-29

    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

    Time:2020-11-14

    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

    Time:2020-10-20

    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 […]

  • Python installation tar.gz Detailed explanation of format file method

    Time:2020-7-11

    This article focuses on Python installation tar.gz Format file method in detail, the article through the example code introduced very detailed, for everyone’s study or work has a certain reference learning value, need friends can refer to Some libraries did not find the corresponding. WHL format file, only tar.gz Format file, and then summarize the […]

  • On Linux package and compression and tar command

    Time:2020-7-8

    Packaging and compression In Linux, packaging and compression are two different concepts. It is very helpful for us to understand complex file suffixes pack When several files and directories are packed together into a large file, it is just a simple package. Therefore, the file size after packaging is generally larger than the total number […]

  • Cowardly referring to create an empty archive in Linux tar command

    Time:2020-5-19

    Cowardly referring to create an empty archive in Linux tar command 1 problem description A shell script was written and executed with the following error: The literal meaning of the error message is that the system nervously refuses to perform the task of creating an empty compressed package. P. The prompt of S. Linux system […]

  • Summary of the usage of tar and RAR in Linux

    Time:2020-5-11

    tarTar command: used to compress and decompress files. Tar itself does not have compression. It is implemented by calling compression function Main operation mode: – A, — catenate, — concatenate append tar file to archive– C, — create create a new archive– D, — diff, — compare find the difference between archive and file system— delete […]

  • Archive and compress commands of Linux files

    Time:2020-1-22

    1. File archiving command tar Benefits of archiving:  easy to use, query and read  easy to manage (bulk delete files) Why compress If the direct transmission will occupy a large amount of traffic bandwidth, resulting in the company’s intranet access speed is slow Compress before transmission –  decompress after transmission Benefits of […]

  • The basic use of tar command operation file in Linux

    Time:2020-1-5

    grammar     tar [-] A –catenate –concatenate | c –create | d –diff –compare |          –delete | r –append | t –list | –test-label | u –update | x          –extract –get [options] [pathname…] describeThe original official saying is that tar stores or extracts archives on tapes and hard disks. Functional options    -a,–catenate,–concatenateAdd files to […]

  • Linux basic command introduction 3: file search and others

    Time:2019-11-20

    1. Linux contains a large number of files. For file search, Linux providesfindCommand. findIs 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、testsandactions。 Multiple expressions are separated by operators. When operators are omitted, the default […]