Linux Experiment II

Source: Internet
Author: User

One of the first experimental Linux basics

1 through Lou's teacher on analysis of the genius the preface to understand the real learning a lesson should be the essence of thinking rather than purely memory

2 All the commands are as follows

Linux command format: command [options] Arguments

Man command

Man Mans

Man-k

Cheat command (not a Linux-brought command, use it to cheat)

Other commands

Find

Locate

Grep

Whirese

which

Two second experiment Linux under C language Programming Foundation

Vim: Text editor

Capital K: Find Help for a function

Set NU Display line number

Set AI automatically indent rows

Set ts=4 sets a TAB key equal to several spaces

Gcc

Gdb

Vim Editor

Three-experiment three vim Quick start

Mode: 6 basic + 5 derivation

Normal mode

Insert mode

Visual mode

Select mode

Command line mode

Ex Mode

Save Document: Enter Command mode input W Enter

Exit Vim: Input WQ (command line mode)

Experiment four VIM document editing

Vim Repeat command

Cursor Jumps

Copy and paste

Experiment Five Find replacement

Replacement and revocation

Fast Indent

Shiftwidth command

Quick Find Quick Find exercises Advanced Find

use vim to edit multiple filesOpen new file to create encrypted document after entering VIM

A lot of detailed notes are recorded in the notebook so the blog is very simple to write the focus is the title of the guidance of detailed knowledge on the notebook to introduce a few additional laboratory building following the operation of the diagram

Linux Experiment II

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.