White Science Python-S3-day05-WC, pipeline breaks, tar,>, vim

One,

echo command string for output

> Indicates overwriting

>> represents an additional operation

Cover>:

 Covering operation, if the parameter is not present then the object a new

 >> added:

 Note: The format is the same coverage and additional operations. Left of the symbol as long as the output result ok (such as ls -l pwd or can operate), the right is a file path.

 

two,

WC command:

 

three,

| Pipe symbol

The result of the last executed command as a command operating parameters.

such as:

 (Wc command in the second above, wc here only as | an example, wc actual usage statistics according to a second term)

 

Four, tar

(1) Archive

Archiving definition: Archiving (archiving) is to many files (or directory) packaged into one file.

Archived Purpose: The purpose is to facilitate the filing of backup, restore, and file transfer operations.

Usually packaged into an archive called

Archiving is equivalent to the supermarket to buy things, I took a bag will be a lot of merchandise; compression is equivalent to the bag and then inside the air squeezed out, make up less space.

In linux, everything is a file, the file type and file name does not matter, such as file type or a.txt - (regular file), so we built a.txt is easy to know what the file.

 Video Tutorial examples:

 (2) compression

Compression and decompression file compression
compression definition: Compression is a large file into a smaller file by a number of compression algorithms.
The purpose of compression: mainly reduce the file size, this will save disk or tape storage file space, in addition to transfer these small files will also reduce browsing network (that is, saving network bandwidth) on the network.
Unzip definition: decompression is to recover as it was before to compress some files by a compression algorithm.

Tutorial examples:

 

Five, VIM

Vim is developed from a vi text editor. Easy programming code-completion, and compilation errors jumps, etc. is particularly rich, it is widely used among programmers. 

 Note: For the command is (NO VIM) CTRL + aA jump command to jump to the head end of the command CTRL + E

Guess you like

Origin www.cnblogs.com/zrh058/p/11519795.html