Linux beginners: (1) Linux overview and linux beginners Overview

Source: Internet
Author: User

Linux beginners: (1) Linux overview and linux beginners Overview

   

Blog Park (FOREVER_ENJOY): http://www.cnblogs.com/zyx1314/

   

This article is copyrighted by the author! Indicate the connection between the author and the original article

Structure of Linux Directories 

In Linux, all files in the system are organized and managed in a directory. In Linux, all the files in the system are classified and hierarchical by directory, forming a tree structure hierarchy of the Linux File System. Starting from the root directory "/", all other directories are derived from the root directory.
Init 0 (shutdown)

2)> init 6 (restart)

 

2. Run the startx command on the Character Terminal interface to start the graphical environment.

 

3. Change the "id: 5: initdefault" item in the/etc/inittab file and change the number 5 to another level number, indicating the default startup level used by Linux.

1) The default level number is changed to 0 or 6, and the system may need to be reinstalled.

 

Display the current running level:

   

>>  runlevel

3  5

   

(Indicates that the current level 5 is switched from Level 3)

 

 

Enable and disable Linux

1. Shutdown

   

shutdown

   

halt

   

init 0

 

2. Restart

   

reboot

init 6

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.