ifconfig is depreceted
-
@Lakshmana said:
Hi All,
There is a small issue in DATAONTAP When there is a IF config is tried to use.The error shown as ifconfig is deprecated.Why this error occurs in this OS?can anyone rell me the reasonYou already stated the reason, because it is deprecated. The ifconfig command has been deprecated for many years, but now with the latest OS versions it is more than deprecated, it has been removed. The replacement command for ifconfig is ip addr.
-
There was a thread with information on this less than a week ago:
http://www.mangolassi.it/topic/4040/new-commands-in-rhel-centos-7
-
Here you go:
echo "alias ifconfig='ip'" >> ~/.bashrc
Ironically alias is also deprecated in bash.
-
@tonyshowoff said:
Here you go:
echo "alias ifconfig='ip'" >> ~/.bashrc
Ironically alias is also deprecated in bash.
Thanks goodness.
-
Wow, ifconfig is gone.. shows how behind I am... I had no idea..but then again I don't use linux much yet.
-
@Dashrender said:
Wow, ifconfig is gone.. shows how behind I am... I had no idea..but then again I don't use linux much yet.
Not gone yet, deprecated means it will be gone, and deprecation in the Linux/Unix/POSIX world tends to last decades and decades
-
@Dashrender said:
Wow, ifconfig is gone.. shows how behind I am... I had no idea..but then again I don't use linux much yet.
It's gone in some versions. It's been deprecated for quite a while, but few people cared. CentOS 7 removes it, though.
-
@tonyshowoff said:
@Dashrender said:
Wow, ifconfig is gone.. shows how behind I am... I had no idea..but then again I don't use linux much yet.
Not gone yet, deprecated means it will be gone, and deprecation in the Linux/Unix/POSIX world tends to last decades and decades
I've got lots of systems without it now!
-
@scottalanmiller said:
@tonyshowoff said:
@Dashrender said:
Wow, ifconfig is gone.. shows how behind I am... I had no idea..but then again I don't use linux much yet.
Not gone yet, deprecated means it will be gone, and deprecation in the Linux/Unix/POSIX world tends to last decades and decades
I've got lots of systems without it now!
Me too, but ifconfig is like 32 years old and has been deprecated for 14 years or so... check and mate, SAM
-
@tonyshowoff said:
Me too, but ifconfig is like 32 years old and has been deprecated for 14 years or so... check and mate, SAM
I mean that they ship that way. Actually removed from the OS.
-
@scottalanmiller said:
@tonyshowoff said:
Me too, but ifconfig is like 32 years old and has been deprecated for 14 years or so... check and mate, SAM
I mean that they ship that way. Actually removed from the OS.
CHECK AND MATE I say! I demand satisfaction! I'm going to have to get my duelling mouse and keyboard.
-
@tonyshowoff said:
@scottalanmiller said:
@tonyshowoff said:
Me too, but ifconfig is like 32 years old and has been deprecated for 14 years or so... check and mate, SAM
I mean that they ship that way. Actually removed from the OS.
CHECK AND MATE I say! I demand satisfaction! I'm going to have to get my duelling mouse and keyboard.
I have a power glove somewhere you can slap him with.
-
Did someone say dueling mouse?
-