Solve Kali Linux error - bash: ifconfig: command not found

Ifconfig is used to configure the kernel-resident network interfaces. It is used at boot time to set up interfaces as necessary. After that, it is usually only needed when debugging or when system tuning is needed. If no arguments are given, ifconfig displays the status of the ifconfig interface [ tcp_low_rto rto | -tcp_low_rto ] Description. You can use the ifconfig command to assign an address to a network interface and to configure or display the current network interface configuration information. The ifconfig command must be used at system startup to define the network address of each interface present on a FAQ How do I force IPv4 or IPv6 lookup? As of 2018-07-25 it's no longer possible to force protocol using the v4 and v6 subdomains. IPv4 or IPv6 still can be forced by passing the appropiate flag to your client, e.g curl -4 or curl -6.. Is automated use of this service permitted? $ curl ifconfig.me ⇒ 157.55.39.158 $ curl ifconfig.me/ip ⇒ 157.55.39.158 $ curl ifconfig.me/host ⇒ unavailable $ curl ifconfig.me/ua ⇒ Mozilla/5.0 (compatible FAQ How do I force IPv4 or IPv6 lookup? As of 2018-07-25 it's no longer possible to force protocol using the v4 and v6 subdomains. IPv4 or IPv6 still can be forced by passing the appropiate flag to your client, e.g curl -4 or curl -6.

The output displayed by the ifconfig and netstat commands can be controlled by the value of DEFAULT_IP set in inet_type file. By default, both commands display the IPv4 and IPv6 information available on the system. The user can choose to suppress …

The ifconfig utility is used to assign an address to a network interface and/or configure network interface parameters. The ifconfig utility must be used at boot time to define the network address of each interface present on a ma

You can with the ip command, and given that ifconfig is in the process of being deprecated by most distributions it's now the preferred tool. An example: $ ip route show 212.13.197.0/28 dev eth0 proto kernel scope link src 212.13.197.13 default via 212.13.197.1 dev eth0

-a : This option is used to display all the interfaces available, even if they are down. Syntax: ifconfig …