Five questions about modifying hostname under Linux (v)

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 #

Linux Common directives

The group has a Linux development beauty, Linux command mastered to the point of perfection.Get this opportunity, learn some, summarize the commonly used instructions, not regularly updated to supplement.----------------------------------------------

Linux Learning Diary--Basic commands (7) Variables in--bash, configuration files

Definition and use of variablesVariable typeStrongly typed: You must specify a type when defining a variable, the participating operation must conform to the type requirement, and calling an undeclared variable produces an error;Weak type: No need

Linux uses expect scripts to automate remote machine logon

First create a expect script ssh_expect with the following file contents:#!/usr/bin/expect-fSethostname [lindex$argv 0]SetUser [lindex$argv 1]Setpasswd [lindex$argv 2]SetTimeout -SetForce_conservative1if{$force _conservative} {SetSend_slow {

View Linux Process Memory usage

You can view the contents of the%mem directly after you use the top command. You can choose to view by process or by user, if you want to see the process memory usage of the Oracle user, you can use the following command:(1) TopThe top command is a

The art of Linux kernel design learn notes (iv) default and offset registers

  reference book:"Intel microprocessors"  Table 1 Default 16-bit segment + offset addressing combination Paragraph Offset amount Special purpose Cs Ip Instruction Address Ss SP or BP

Linux crontab implementation of the timing service detailed

http://www.jb51.net/LINUXjishu/151805.htmlIf we need to perform periodic repetitive tasks on a regular basis, we will use the Timed task function to help us automate recurring recurring tasks such as daily, weekly and so on, without the need for

Build your own Linux-04 start Linux and test

1. Copy the disk file, create a new virtual machine, and use the diskLocate the virtual machine source file for our Linux-made host and copy the disk.Create a new virtual machine using the disk that we copied.650) this.width=650; "src="

Linux Tomcat Log View Utility commands

Utility Commands: View the Tomcat run log Tail-f Catalina.out View logs with keyword search Cat Jeewx-2015-09-20.log | grep Verification Code Viewing a fixed time log Cat

"The Art of Linux kernel design" learning Note (ii) INT 0x13 Interrupt

Disk Reset:  AH = 0DL = Drive letter (00,01 is floppy; 80h,81h, ... For the hard drive)Return parameter: Failure ⇒ah = error code  Read disk Status:  AH = 1Return parameter: AH = status byte  Read Disk sector:    AH = 2The 0~5 bit in CX represents

How Linux modifies hostname online

Modified the hostname under/etc/sysconfig/network. 2. Use echo servername >/proc/sys/kernel/hostnameWhen the other terminal is opened, it will take effect immediately without restarting.Method 21. Modified the hostname under

Linux Common commands

Cat input and Output commandsCat input from standard input device, output from standard output deviceCat > file input from standard input device, output to file, overwrite source file, if append, use cat >> fileCat Cat file2 Copy the contents of

Linux under/etc/profile,/ETC/BASHRC, ~/.bash_profile, ~/.BASHRC do what

/etc/profile,/ETC/BASHRC, ~/.bash_profile, ~/.BASHRC are easily confused, what is the difference between them? What is their role in the end? /etc/profile: Used to set the system environment parameters, such as $path. This environment variable is in

Refer to the three configuration and use SSH login Linux host--windows Chapter

1. The centos6.7 has already included the SSH service and has been running successfully since the installation was minimized. The following command restarts and verifies that the SSH service is already running.[Email protected] ~]# [[email protected]

Shell debugging and shell debugging

Shell debugging and shell debugging I. Introduction This article comprehensively and systematically introduces the shell script debugging technology, including using echo, tee, trap and other commands to output key information, tracking variable

Centos6.6 install GIT for web

Centos6.6 install GIT for web Reference http://gogs.io/docs/installation I am using the package management method for

Use CentOS DVD1 and DVD2 for local yum Source

Use CentOS DVD1 and DVD2 for local yum Source CentOS6 and later versions generally provide a DVD1 and a DVD2 image. You can use DVD1 to install and use CentOS. DVD2 stores some additional software packages. This article describes how to create and

CentOS server disk partitioning Solution

CentOS server disk partitioning Solution My server is 500 GB. The most important thing is that the/var partition must be large (whether it is a postfix email or a lamp web Server ).Preferably GB or above. The specific/boot only needs MB.The

Linux-getting started with installation, linux-getting started

Linux-getting started with installation, linux-getting startedLearning task: 1: after reading the process of installing linux on VMWare 2: Understand partition concepts Learning Experience: 1: linux system hard disk type: IDE hard disk, SCSI hard

Openfire: Modify Domain value

Openfire: Modify Domain value Unlike Tigase, after Openfire is installed, its configuration attributes are not written into the XML file, but basically stored in the database table.The data table where the configuration property is located is an

Total Pages: 5467 1 .... 2267 2268 2269 2270 2271 .... 5467 Go to: GO

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.