1. Basic understanding of Linux and basic understanding of linux

Source: Internet
Author: User

1. Basic understanding of Linux and basic understanding of linux

LINUX features:

1. Openness: open source;

2. Multi-user multi-task environment;

3. Good User Interface: provides two interfaces:Character InterfaceAndGraphic Interface(XWindow system );

4. device independence;

5. Rich network functions: built-in TCP/IP

 

There are two Linux kernel versions:Stable versionAndDevelopment version.

The format of the Linux kernel version is as follows:A. bb. cc

 

Swap partition:

UsedVirtual MemoryIn this example, user data cannot be saved.

Boot partition:

Used to saveStart the systemRelated Files. Generally, this partition is set to MB.

Root partition:

Used to placeFile System RootAll documents are stored in this partition, such as the user's home directory and various program directories.

 

Linux root Password Change command:

1. Log On As root.

2. Open the terminal and enter passwd.

3. Enter the First password when "New password:" is displayed.

4. After the password is entered for the first time, "Retype new password:" is displayed. Enter the password again to change the password.

 

Shutdown command Halt:

Halt

Shutdown

Poweroff

Reboot

 

Press the combination keyCtrl + Alt + Fn(Where n is 1 ~ 6) enter the six character terminal interfaces respectively.

 

Init process:

When Linux is started,

Run/Sbin/initProcess,

Then, the init process starts subsequent tasks, such as multi-user environments and networks.

The id (PID) of the init process is 1, and there is a parent process id (PPID) 0.

Note that,The init process is always running.

This process must be used when running/Etc/inittabFile, This isInitProcess configuration file.

 

RHEL supports 7 linux runtime levels. Different runtime levels are defined as follows:

0: Shut down. Shut down the computer.

1: single-user mode, similar to the safe mode in Windows XP.

2: multiple local users without support for remote networks (such as NFS.

3: The full multi-user mode is a standard operation level.

4: Generally, it is not used in some special cases.

5: X11. Enter the graphic interface.

6: restart.

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.