# Merge files and file archiving
#cat / etc / passwd> new_pass.txt (Create a new document and cat / etc / passwd the contents of the merger came in)
#echo "xxxx" >> new_pass.txt (additional content to the end of the document)
#echo "xxxx"> new_pass.txt (write new content covering the original content, if the file name does not exist will create a new file)
Lines of content #wc -l statistics file wc-l new_pass.txt
#tar -cvf test.tar (archive file name) / merge a plurality of directory file and displays the name of the merged file archive instruction tar--
#tar -tf test.tar (see archives)
#tar -xvf test.tar -C / unpack the directory file in the specified directory
#tar -czvf filename .gz z: the first is to call gzip compression during archiving
# Define compression: Compression is to a large file through a number of compression algorithms into a small file
#gzip need to compress the file gunzip need to extract the files
#bzip bunzip
#history view the command history
# Vim Operational Details
#ls * .txt (* on behalf of all files ending in .txt), hard disk at the physical level is the smallest unit of a sector 512bytes
#vim file ioa insert characters esc back to the command line: set nu show the number of rows esc two clicks back to the command line
# Command line: dd Delete cursor which line u: Undo the last action ctrl + r: restore the previous step n (number) delete lines nyy dd copy cursor down n rows
#p paste the copied data will be the next line of the cursor