20135234 Ma Qiyang-—— Information Security System Design Foundation second week study summary

Source: Internet
Author: User

Linux Basics

1.Linux command

command [options] [arguments]

The brackets are optional, that is, some commands do not require options and do not require parameter options or parameters (arguments)

Options are switches that adjust the execution behavior of a command, and different options determine the result of the command being displayed differently.

A parameter is an object that the command acts on.

2. Man command

Man is Manul's abbreviation help document

3.cheat command

The Cheat command is an interactive cheat sheet application that is distributed to Linux command line users under the GNU General Public License.

It provides a display of Linux command use cases, including all of the options and short but understandable features of the command.

4. Other Core commands

Find where a file is located in the system, locate is the quick version of Find

grep can retrieve full-text files, support regular expressions,

Whereis,which tells you where the command tool is installed.

Fundamentals of C language programming under Linux

Vim is a text editor

The uppercase "K" can be used to find help for the function:

View man page, command mode, put the cursor on the function name, press "K" can directly see man page.

Several settings:

: Set NU Displays line number

: Set AI automatically indents rows

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

To move the cursor:

[[Go to Previous ' {' in first column]

]] to go to the next "{" In the first column

{Go to previous empty row

} go to the next empty line

GD goes to the definition of the local variable referred to by the current cursor

20135234 Ma Qiyang-—— Information Security System Design Foundation second week study summary

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.