About 50 results
Open links in new tab
  1. linux - ifconfig command not found - Stack Overflow

    bash: ifconfig: command not found --> the command is deprecated, see ifconfig and locate command not found, bash: ifconfig: command not found on Unix & Linux Stack Exchange …

  2. Best way to extract MAC address from ifconfig's output?

    What is the best way to extract the MAC address from ifconfig's output? Sample output: bash-3.00# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 1F:2E:19:10:3B:52 inet ...

  3. Which terminal command to get just IP address and nothing else?

    Dec 16, 2011 · I'm trying to use just the IP address (inet) as a parameter in a script I wrote. Is there an easy way in a unix terminal to get just the IP address, rather than looking through …

  4. macos - What are en0, en1, p2p, and so on, that are displayed …

    Apr 30, 2015 · When I type ifconfig on my Mac terminal, several information is printed. But I can't understand what they are. Can anyone briefly tell me what they are? What are lo0, gif0, en0, …

  5. Parse ifconfig to get only my IP address using Bash

    May 29, 2014 · And if you want the IP address of a specific interface, replace the first expression ifconfig by ifconfig INTERFACENAME, for example ifconfig eth0 | grep -E ... .

  6. How to obtain public ip address using windows command prompt?

    Invoke-WebRequest ifconfig.me/ip Go to source Edit: I misread the question and thought you needed to use Powershell, there is no built in command in cmd.exe to return a public IP …

  7. using C code to get same info as ifconfig - Stack Overflow

    Is there a way in Linux, using C code, to get the same information that "ifconfig eth0" would return? I'm interested in things like IP address, link status, and MAC address. Here's sample …

  8. adb command for getting ip address assigned by operator

    I think that everybody should start using ip addr show <INTERFACE> because the ifconfig way is deprecated on recent linux systems and I noticed that ifconfig behaviour on a Lollipop Nexus 5 …

  9. Extracting IP address from a line from ifconfig output with grep

    Jul 14, 2012 · Given this specific line pulled from ifconfig, in my case: inet 192.168.2.13 netmask 0xffffff00 broadcast 192.168.2.255 How could one extract the 192.168.2.13 part (the local IP …

  10. What's the difference between Sphinx's "only" and "ifconfig" …

    Nov 19, 2016 · ifconfig ifconfig gives you the flexibility to include content based on the true-ness of any Python expression involving configuration variables registered in conf.py.