XZ This compression may be a lot of unfamiliar, but you can see that XZ is the absolute number of Linux default to take a compression tool.Before the XZ use has been very little, so hardly anything to mention.
I was downloading phpmyadmin when I saw this compression format, phpMyAdmin compression package XZ format incredibly smaller than 7z, which aroused my interest.The latest period of time will often hear the XZ adopted sound, such as the latest archlinux something on the use of XZ compressi
This article mainly introduces the example of using tarfile to compress and decompress the tar archive file in Python. This article provides examples of decompressing and compressing the code directly. if you need it, refer to the example below.
The zipfile module corresponds to the tarfile, and the zipfile process zip compression. Note: OS. system (cmd) allows Python scripts to execute commands, including
/--exclude/home/yingmu/111cn.net--EXCLUDE/HOME/YINGMU/QQIf you exclude a file, change the above directory name to an exclusion rule similar to *.gif.Example three: Extracting/tmp/etc.tar.gz files under/USR/LOCAL/SRC[Email protected] ~]# cd/usr/local/src (www.111cn.net)[Email protected] src]# tar-xzvf/tmp/etc.tar.gz# in the case of presets, we can unzip the
1. First look at the files in the compressed document, if you do not know the contents of the file, and then directly decompression, this is not possibleYou can view the contents of a compressed package by using the #tar-tf compressed package name2. Compress a fileTAR-ZXVF zabbix.tar.gz Zabbix-2.4.7/upgrades/dbpatches/2.2/readmeLook at the format is the decompression command, and then add the need to
To reduce the amount of space occupied by log files, in many cases we package the log files in days or weeks as tar.gz packages. While this is a good space to take advantage of, it is inconvenient when we want to look at the contents of a compressed package. If it's just a tar.gz file, unzip it, and then use grep, awk, or VI tools to view or process it. However, if there are one months or a year of log need
In Linux, you can use the tail command to create a self-decompressed tar file-general Linux technology-Linux technology and application information. The following is a detailed description. The Tail command parameter contains the-n, -- lines = N, which can directly output the last N lines in a file.
Using this parameter and the
follows:1. Download a compressed package to Windows (EXTUNDELETE-0.2.4.TAR.BZ2 needs to compress the package of friends please leave a message)2. Share the package with the Linux system3. Unzip, compile, and install the compressed package in Linux4. Accidental deletion of analog files5. Using the installed software to recover deleted files by mistakeThe experiment passed:1. First share the software downloa
. Under Linux, the suffix is just to make it easier for us to distinguish between file types. Common file types are:. conf configuration file. zip Zip archive Package. tar.gz tar.gz Compression Pack. Tar Tar compression package. log log fileSix,
Windows File Format Daquan 323 H.323 Internet telephone service text/h323
386 Virtual Device Driver
3GP 3GPP video/3GPP editing
669 Winamp media files
7z WinRAR compressed file
AAC Winamp media files
ABS File
AC3 AC3 File
ACA Microsoft Agent character
Steps: 1. Download vmware and Ubuntu image files from the web2. Installing the Ubuntu system on a virtual machine3. Install VMware Tools in the installed system for file sharing4. Set up a folder shared with Windows in VMwareThe first step is relatively simple.The second step: Create a new virtual machine in VMware, configure the system to use the image file, fol
the file, so the previous error command should know how to change it, namely: Now Linux in the first command: Vim m.c save quit, do not write anything, and then use the DOS command: TFTP 192.168.1.106 put B.C m.c execute. See Run:What is still wrong, prompt "Server error: Permission denied", is m.c permission to write, then you in Linux chmod 777 M.C can, in the second execution:This time is really successful, you can also view the
,Look at the following example, Uers19.txt is a file of vax1. So the ability to use the put command to transfer files, so the previous error command should know how to change it, that is: Now Linux in the first command: Vim m.c save quit, do not write anything. Then use the DOS command: TFTP 192.168.1.106 put B.C m.c to execute.See execution:What is wrong. Tip "error on server: Permission denied". is M.C permission to write, then you chmod 777 M.C in
is also very complex, in order to ensure the normal operation of Windows, the file inside is not deleted, These folders support Mscorwks.dll and cannot be loaded without them nmscorwks. If forcibly deleted, may only in Safe mode can reluctantly enter Windows,windows also "hang".
(4). Specific procedures
The first st
Today set up a Windows Server 2003 Web server, found that after opening the Web page can not download the. exe file in the website, after the research problem can be solved, to make a memo.
The workaround is simply to set the Execute permission in the site properties to "plain Script" in IIS.
Attachment: Windows Server 2003 server cannot download exe-suffix
audio/basicMidi Music files Mid,.midi Audio/midi,audio/x-midiRealAudio music files. RA,. Ram Audio/x-pn-realaudioMPEG files. Mpg,.mpeg video/mpegAVI file. avi Video/x-msvideogzip file. GZ application/x-gzipTar file. Tar application/x-tar) 2. If the previous step does not
sharing Function of Windows
For example, if your Windows IP address is 192.168.0.1 and a directory named share is shared, you can run the following command:
Mount-t smbfs // 192.168.0.1/share/mnt-o username = user % passwd
Or smbmount // 192.168.0.1/share/mnt-o username = user % passwd (Use this command to install samba)
7. Use vmware tools
SharedFolders is a new feature of Vmware4, making it easier to s
(zipfile );
It seems quite simple. Note: The first parameter of gzopen is the const char * type, which is different from the file path parameter type in wince. If the pbuf type is char *, nlen should never use strlen () or anything. As for the reason, just...
After the compression is successful, we can see how to decompress the test.gz file:
Gzfile unzip = gzope
There are many file sharing methods between Windows and Linux. I will summarize them here. Suppose your host computer is windows and guest is Linux.
1. Use samba
This is the method I use most.
2. Configure apahce in Linux
Configure apahce in Linux, and then download the files in Linux through WWW in windows. In
In general, RZSZ packages are installed when you install a Linux system, but some custom-installed Linux may not install RZSZ packs to the system, which is especially inconvenient for transferring files with Windows tools such as SECURECRT. You can manually install the RZSZ package after you install Liunx.
1. Get Rzsz Package
Mode 1: Sign in to Linux,
Use the command wget http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gz download.
Mode 2: Acc
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.