ifconfig is no longer being maintained & has been deprecated on the recent versions of Linux. ifconfigcommand has been replaced with ip command. ?
The ip command is somewhat similar to ifconfig command but it’ss much more powerful with much more functionalities attached to it.