Top "Ifconfig" questions

ifconfig (short for interface configuration) is a system administration utility in Unix-like operating systems to configure, control, and query TCP/IP network interface parameters from a command line interface (CLI) or in system configuration scripts.

How to get the primary IP address of the local machine on Linux and OS X?

I am looking for a command line solution that would return me the primary (first) IP address of the localhost, …

bash unix ip ifconfig
How to get default gateway in Mac OSX

I need to retrieve the default gateway on a Mac machine. I know that in Linux route -n will give …

macos routes netstat ifconfig
How to install "ifconfig" command in my ubuntu docker image?

I've just installed ubuntu docker image, when I execute "ifconfig" it says there's no such command, I tried apt-get install …

image ubuntu docker ifconfig
How do I delete virtual interface in Linux?

ip link shows this: [root@0-25-90-68-79-4a log]# ip link 1: lo: <LOOPBACK,UP,LOWER_UP&…

linux networking linux-kernel virtual-machine ifconfig
no network in Android x86 on VirtualBox 4.1.2

My issue is nearly identical to this question. I tried those solution and none worked. But I am using a …

networking ubuntu virtualbox android-x86 ifconfig
ifconfig command not found

I've just installed CentOS7 as a virtual machine on my mac (osx10.9.3 + virtualbox) Running ifconfig returns command not found. Also …

linux centos command ifconfig
ifconfig and interfaces

just a question for my understanding. on my mac when I use ifconfig command on my mac I get the …

macos interface ip ifconfig
Parse ifconfig to get only my IP address using Bash

I want to edit the bashrc file to have a simple function called "myip" to run. As you might guess, …

macos bash awk ifconfig
List ALL devices on local network?

I have tried arp -a a lot and it has listed some devices, but not all of them. ifconfig shows …

ip wifi arp ifconfig
What are en0, en1, p2p, and so on, that are displayed after executing ifconfig?

When I type ifconfig on my Mac terminal, several information is printed. But I can't understand what they are. Can …

macos terminal ifconfig