This article describes how to modify the IP through the Linux command line. Modifying the IP through the Linux command line can be implemented in the following two ways.
Method 1:
ifconfig eth0 192.168.1.18 netmask 255.255.255.0
Description: This method can make the change take effect immediately, and it will be restored to the original IP after restart. Br>
Method 2:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
Description: This method takes effect after reboot and is permanent
If you want to change it immediately and it will take effect permanently, you can only use it in both ways.
The above is the way to modify the IP through the linux command line.
The Linux boot file is stored in the grub.conf configuration file in the /boot/grub/directory. 1.
This period win8.1 Mac OS X 10.9 Mavericks Two operating systems almost simultaneously released, i
Installation instructions 1, this installation package can be deployed on all Linux systems of Alib
Understanding the difference between common mode and differential mode signals is critical to unders
Remote assistance for shells under Linux operating system
The relationship between Linux and Android
CenterOS 64-bit mysql5.5.25 to open remote access function
How to check the shell type used by the Linux operating system
Several ways to export the Hash list of the domain controller on the intranet
Linux too many open files solution
PC and NB running the lowest processing of modern desktop Linux
Win8.1 upgrade win10 error 0x80070002 how to do
Windows XP cannot switch users
Linux uses node.js to execute commands.
360 speed browser takes up too much memory solution tutorial
Win8/win10 system removes the method of bringing the Microsoft input method
How to manually release linux memory
How does the Win10 system change the drive letter to highlight its own personality
Win8 system how to set Win8 picture password
Windows Insider preview version how to turn into Win10 official version of the Raiders