Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet329/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   325   326   327   328   329   330   331   332   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

[
 251 
]
Getting back to managing our interfaces, another command worth discussion is 
ifconfig
.
The 
ifconfig
 command is part of the 
net-tools
 suite of utilities, which has been 
deprecated (for the most part). Its replacement is the 
iproute2
 suite of utilities, which 
includes the 
ip
 command we've already discussed. In summary, this basically means 
you should be using commands from the 
iproute2
 suite, instead of commands such 
as 
ifconfig
. The problem, though, is that most administrators nowadays still use 
ifconfig
, with no sign of it slowing down. In fact, the 
net-tools
 suite has been 
recommended for deprecation for years now, and just about every Linux distribution 
shipping today still has this suite installed by default. Those that don't have it 
installed offer it as an additional package that you can install. In the case of Ubuntu 
Server 20.04, the 
net-tools
 package is no longer installed by default, but it's still 
available if you want to manually install it. I don't recommend installing it though, 
since it's deprecated and shouldn't be used anymore.
The reason commands such as 
ifconfig
 have a tendency to stick around so long 
after they've been deprecated usually comes down to the 
change is hard
 mentality, but 
quite a few scripts and programs out there are still using 
ifconfig
, and therefore it's 
worth discussing here. Even if you immediately stop using 
ifconfig
, and move to 
ip
 from now on, you'll still encounter this command on your travels, so you may as 
well know a few examples. Knowing the older commands will also help you if you 
find yourself on an older server.
First, when executed by itself with no options, 
ifconfig
 will print information 
regarding your interfaces like we did with 
ip addr show
 earlier. That seems pretty 
simple.
If you are unable to use 
ifconfig
 to view interface information using a normal user, 
try using the fully qualified command (include the full path):
/usr/sbin/ifconfig


Connecting to Networks

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   325   326   327   328   329   330   331   332   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish