Linux Basics-Operating system basics

Source: Internet
Author: User

System call Order

From bottom to top

Hardware →kernel kernel →library API (application program Interface)

System boot Order

Power-on self-Test →bios mapping program → load system kernel → application usage

Cons: Easy to create memory fragmentation

GCC----GNU C complier GNU C compiler


Directory Management:

LS, CD, pwd, mkdir, RM, tree

File Management:

Touch, stat (view modified timestamp), file, CP, MV, Nano

Date Time:

Date, clock, Hwclock, Cal

Text Processing:

Cat, more, less, head, tail, cut, sort, uniq, vim, awk, join, grep, SED

Cut

-D: Specifies the field delimiter, which is the default space

-F: Specifies the field to display (-F 1,3 indicates the first and third fields are displayed. -F 1-3 Indicates the first to third field is displayed)

Cases:

Cut-d:-f1-3/etc/passwd to: Display a 1-3 field in/etc/passwd file for a separator

BASH-supported quotes

": Command substitution

"": weak reference, can implement variable substitution

': Strong reference, do not complete variable substitution

Bash file wildcard

*: Any character of any length

?: any single character

[]: matches any single character within the specified range

[Abc],[a-z],[a-z],[0-9],[a-za-z0-9]

[: Space:] white space character [:p UNCT:] punctuation [: lower:] lowercase [: Upper:] uppercase letters [: Alpha:] Upper case Letters [:D igit:] numbers [: alnum:] numbers and uppercase and lowercase letters

[^] matches any single character outside the specified range

Linux Library types

. So Dynamic shared library

Encryption method

Symmetric encryption: Encrypt and decrypt using the same password

Public key decryption: each password appears in pairs, one for the public key and one for the private key

One-way encryption: Extracting data signatures, used for data validation

Features: 1, Butterfly Effect 2, fixed-length output

Encryption algorithm

MD5: summary information, 128-bit fixed-length output

sha1:160 bit fixed-length output

sha256:256 bit fixed-length output


This article from "Liang Childe" blog, please be sure to keep this source http://iyull.blog.51cto.com/4664834/1884538

Linux Basics-Operating system basics

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.