Linux compression commands and vim editing instructions

Source: Internet
Author: User

Cat command

Implement merging of several files, and add one or several files to another file.

Tar command

Package a file or directory into a file

-C Create a new tar file

-t lists the directory names in the tar file

-V displays detailed file or directory information for packaged files

-X extracting a file from a tar file

-F archive file or device, usually write

-Z uses the GZIP algorithm to compress packaged files

-j using the bZIP algorithm to compress packaged files

-C back to the location of the extracted files

VI Editor

Contains three modes, command mode, edit mode, extended mode.

Enter edit mode from command mode,

A: Enter insert mode and add after the cursor.
I: Enter the insert mode and insert it before the cursor.
O: Enter insert mode and open a new line below the current (cursor) line.

Number 0, moving to the beginning of the current line

$, moving to the end of the current line.

Linux compression commands and vim editing instructions

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.