About 685,000 results
Open links in new tab
  1. linux - Can I determine the current IP from a known MAC Address ...

    The other methods presented here were unreliable, e.g. the output of ip neighbor did not always contain the most recent state, so I ended up re-scanning the network using arp-scan, and hence I simply …

  2. 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 ifconfig?

  3. bash - How to get the primary IP address of the local machine on Linux ...

    Nov 10, 2012 · I am looking for a command line solution that would return me the primary (first) IP address of the localhost, other than 127.0.0.1 The solution should work at least for Linux (Debian …

  4. How do you extract IP addresses from files using a regex in a linux ...

    73 How to extract a text part by regexp in linux shell? Lets say, I have a file where in every line is an IP address, but on a different position. What is the simplest way to extract those IP addresses using …

  5. linux - Find the IP address of the client in an SSH session - Stack ...

    Jun 15, 2009 · I have a script that is to be run by a person that logs in to the server with SSH. Is there a way to find out automatically what IP address the user is connecting from? Of course, I could ask the...

  6. How to get hostname from IP (Linux)? - Stack Overflow

    The IP address is then stored in the IP variable. The nslookup command is used to perform a reverse DNS lookup on the IP address. This will return the domain name associated with the IP address. The …

  7. Linux bash script to extract IP address - Stack Overflow

    Jan 24, 2014 · To find what IP adders is used connected to internet, we can use the ip route command. With newer version of Linux you get more information with a typical output some like this:

  8. How can I get the IP address of a (Linux) machine?

    Dec 5, 2015 · -Question. However I need to find the IP address (es) of a Linux Machine. So: How do I - programmatically in C++ - detect the IP addresses of the linux server my application is running on. …

  9. Get Subnet mask in Linux using bash - Stack Overflow

    Oct 15, 2015 · I am using bash to get the IP address of my machine with that script:

  10. linux - how to get ip address of localhost - Stack Overflow

    Apr 24, 2014 · I need an ip address of a local host in order to use it in an url string. I want to connect to other computer by using port forwarding. The connecting will be written in a bash script. So, is ther...