您好,登錄后才能下訂單哦!
這篇文章主要為大家展示了“Linux系統(tǒng)安裝ifconfig命令有哪些”,內(nèi)容簡而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶領(lǐng)大家一起研究并學(xué)習(xí)一下“Linux系統(tǒng)安裝ifconfig命令有哪些”這篇文章吧。
1、發(fā)現(xiàn)沒有ifconfig命令
[root@PC3 ~]# ifconfig bash: ifconfig: command not found...
2、查找安裝包
[root@PC3 ~]# yum list | grep net-tool* net-tools.x86_64 2.0-0.17.20131004git.el7 rhel7
3、安裝
[root@PC3 ~]# yum install -y net-tools.x86_64 Loaded plugins: langpacks, product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Resolving Dependencies --> Running transaction check ---> Package net-tools.x86_64 0:2.0-0.17.20131004git.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: net-tools x86_64 2.0-0.17.20131004git.el7 rhel7 304 k Transaction Summary ================================================================================ Install 1 Package Total download size: 304 k Installed size: 917 k Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : net-tools-2.0-0.17.20131004git.el7.x86_64 1/1 Verifying : net-tools-2.0-0.17.20131004git.el7.x86_64 1/1 Installed: net-tools.x86_64 0:2.0-0.17.20131004git.el7 Complete!
4、測試
[root@PC3 ~]# ifconfig eno16777728: flags=4163 mtu 1500 ether 00:0c:29:7d:e7:11 txqueuelen 1000 (Ethernet) RX packets 19 bytes 6216 (6.0 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 0 (Local Loopback) RX packets 658 bytes 51708 (50.4 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 658 bytes 51708 (50.4 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
以上是“Linux系統(tǒng)安裝ifconfig命令有哪些”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對大家有所幫助,如果還想學(xué)習(xí)更多知識(shí),歡迎關(guān)注億速云行業(yè)資訊頻道!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。