Infrastructure Ubuntu System setup and basic operation

Source: Internet
Author: User
Tags system log

I. directory structure of Ubuntu Series

650) this.width=650; "title=" Picture 1.png "src=" http://s3.51cto.com/wyfs02/M01/6D/E2/wKiom1VuYQGRos0_ Aagzkazmrog718.jpg "alt=" wkiom1vuyqgros0_aagzkazmrog718.jpg "/>

650) this.width=650; "title=" Picture 2.png "src=" http://s3.51cto.com/wyfs02/M00/6D/DD/ Wkiol1vuyrxrijkbaajq4ycji2m355.jpg "alt=" wkiol1vuyrxrijkbaajq4ycji2m355.jpg "/>

Second, theUbuntu System tree-type directory structure :

650) this.width=650; "title=" Picture 3.png "src=" http://s3.51cto.com/wyfs02/M00/6D/E2/ Wkiom1vuysng8bxaaadr8thpzug690.jpg "alt=" wkiom1vuysng8bxaaadr8thpzug690.jpg "/>

/boot: This directory is the directory in which the system kernel is stored and the file that is required when the system starts.

/bin: This directory holds commands that are often used by all users.

/dev: This directory holds the interface device files.

/etc: This directory holds information about system settings and administration files.

/home: The default working folder for all normal system users (that is, the host directory, family directory).

/root: This directory is the host directory for Ubnutu system Administrator (Superuser)root , and by default, only root The user's host directory is under the root directory and not under "/Home".

/sbin: storage Ubnutu system to do basic management commands, general administrator users have permission to execute.

/usr: store Other user applications and are often divided into subdirectories for different types of applications.

/var: Some files that often need to change in the storage system, such as System log files, mailbox directories, etc., in the actual application system, the "/var" Directory is often divided into separate partitions.

Third, using the command line interface

650) this.width=650; "title=" Picture 4.png "src=" http://s3.51cto.com/wyfs02/M01/6D/E2/ Wkiom1vuyxwcyjdbaaccnbh7uyo661.jpg "alt=" Wkiom1vuyxwcyjdbaaccnbh7uyo661.jpg "/>

1. View the kernel version

650) this.width=650; "title=" Picture 5.png "src=" http://s3.51cto.com/wyfs02/M02/6D/DD/ Wkiol1vuyylazyfyaacguspduzc842.jpg "alt=" Wkiol1vuyylazyfyaacguspduzc842.jpg "/>

2. View CPU information

650) this.width=650; "title=" Picture 6.png "src=" http://s3.51cto.com/wyfs02/M02/6D/E2/ Wkiom1vuyzmsl6z4aairjr-3734775.jpg "alt=" Wkiom1vuyzmsl6z4aairjr-3734775.jpg "/>

3. View Memory

650) this.width=650; "title=" Picture 7.png "src=" http://s3.51cto.com/wyfs02/M00/6D/DD/ Wkiol1vuy0odz1v7aaj7oguqpas978.jpg "alt=" Wkiol1vuy0odz1v7aaj7oguqpas978.jpg "/>

4. View host name

650) this.width=650; "title=" Picture 8.png "src=" http://s3.51cto.com/wyfs02/M00/6D/E2/ Wkiom1vuydctjjj1aablx62tsim691.jpg "alt=" Wkiom1vuydctjjj1aablx62tsim691.jpg "/>

5. shutdown and restart Operation

Perform a "shutdown-hnow" or "poweroff" command to completely shut down.

You can restart the Linux system by executing the "shutdown-rnow" or "reboot" command .

When executing the "shutdown" command, use "+ minutes" to indicate the shutdown or restart operation after the specified number of minutes.

For delayed shutdown, restart operation, press CTRL + C if necessary, or the "shutdown-c" command is canceled by another administrator after logging in to another terminal.

This article from "It essay" blog, declined reprint!

Infrastructure Ubuntu System setup and basic operation

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.