Five questions about modifying hostname under Linux (v)

Source: Internet
Author: User

Well, finally, the last of the series, let's explore the final question today.
Question 5: How to view the value of hostname, whichever is it?

1 [[email protected] ~]
2 # hostname
3 db-server
4 [[email protected] ~]
5 # more/proc/sys/kernel/hostname
6 db-server
7 [[email protected] ~]
8 # More/etc/sysconfig/network
Networking=yes
Networking_ipv6=yes
Hostname=localhost.localdomain
Whichever is the case, if you understand the previous 4 questions, then it is easy to understand the problem.
if you want to dive into the Linux system novice, you can also download a German Linux software center trial.
Free:Http://www.nfs-cloud.cn:81/appCenter/open/softcenter

Five questions about modifying hostname under Linux (v)

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.