linux-Common Commands

Source: Internet
Author: User
Tags save file

LS Lists the current directory

CD entry to the specified directory

mkdir Creating a Directory

Touch Create File

LS-L lists the details of the file, Unix commands, and the detailed properties of all the visible files in the current directory, in long form.

RM Delete File

Sodu temporarily get root privileges

Apt-get Install update (softwarename) installation software

VIM uses:

I (a) Enter edit state I (a) jump to beginning of line (tail) ESC exit Current mode (command/edit) x Delete current one character

DD Delete a whole line of command mode:: Q Exit File: W Save file: Wq Save and exit: WQA save to exit all files

: SP split screen processing file, followed by a new name indicates a new file, such as: SP max.c number of rows +DD cut p paste

ctrl+w+ toggle between up and down arrows: Set NU Displays the number of rows

linux-Common Commands

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.