In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "the usage of Linux basic commands ifup and ifdown". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn the usage of the basic Linux commands ifup and ifdown.
Ifup
The ifup instruction is used to start the network interface device, which must be a file defined in "/ etc/sysconfig/network-scripts/ifcfg-ethX" or "/ etc/sysconfig/network". These scripts usually take one parameter: the name of the configuration (for example, eth0). In the boot sequence, they are called with the second parameter of "boot" so that devices (ONBOOT=no) that you do not want to turn on during boot can be ignored at this time.
The scope of this command: RedHat, RHEL, Ubuntu, CentOS, SUSE, openSUSE, Fedora.
1. Grammar
Ifup interface
2. List of options
None
3. Examples
Activate the network card
[root@localhost ~] # ifup eth0 / / activate the network card eth0
Active connection status: activating
Active connection path: / org/freedesktop/NetworkManager/ActiveConnection/2
Status: activated
The connection is activated
Ifdown
The ifdown instruction is used to shut down the network interface device, which must be a file defined in "/ etc/sysconfig/network-scripts/ifcfg-ethX" or "/ etc/sysconfig/network".
The scope of this command: RedHat, RHEL, Ubuntu, CentOS, SUSE, openSUSE, Fedora.
1. Grammar
Ifdown interface
2. List of options
None
3. Examples
Turn off the network card
[root@localhost ~] # ifdown eth0 / / close eth0
Device status: 3 (disconnect)
At this point, I believe you have a deeper understanding of "the use of the basic Linux commands ifup and ifdown". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.