Linked Questions

6
votes
3answers
9k views

How do I get my IP address from the command line? [duplicate]

I'm using Debian 8. How do I get my external IP address from a command line? I thought the below command would do the job ... myuser@myserver:~ $ /sbin/ifconfig $1 | grep "inet\|inet6" | awk -F' ' '...
0
votes
2answers
6k views

How to find public ip for a freebsd system [duplicate]

Can someone tell me a command that will find my external ip for a freebsd 10 system.
3
votes
1answer
1k views

What's the shortest way to find my WAN IP address at the command line? [duplicate]

What's the shortest command I could use to find out my WAN IP?
0
votes
1answer
848 views

Current IP address as visible from the internet? [duplicate]

I know I can get the locally assigned IP address of my current machine by the local router like so: ifconfig However, I want to know what my IP address is as visible from the outside world. Or, in ...
-1
votes
2answers
846 views

check ip address of a linux server to upload the file [duplicate]

I am working on a linux server remotely. Are there any command that can allow me to figure out the IP address of this linux server, so that I can ftp some files to this server.
43
votes
3answers
255k views

How to get IP Address using shell script? [duplicate]

Want to get the IP address using Shell script. Without knowing the eth0 or eth1 or eth2 How to get the particular IP address. I am not interest to get localhost address, want to get private IP ...
10
votes
2answers
8k views

How does dig find my WAN-IP-adress? What is “myip.opendns.com” doing?

I needed to automatically get my own WAN-IP-adress from my router. I found this question and, among others, a solution with dig was proposed: dig +short myip.opendns.com @resolver1.opendns.com It ...
6
votes
8answers
9k views

How to display the IP address of the default Interface with Internet connection?

I need to create a script that outputs the internal IP address, that is configured as the default Interface.
6
votes
2answers
5k views

Get the external IP address in shell without dig in 2016?

This question: "How can I get my external IP address in bash?" Solves the question with a call to dig: dig +short myip.opendns.com @resolver1.opendns.com; that is the fastest resolution possible, ...
2
votes
2answers
2k views

How do I know for sure proxychains is really working to mask my ip address by chaining it?

I'm wondering if there is a way to know that proxychains is really working. I know about configuring it, adding proxies, etc.. Just not really sure if it's actually working? When I go into terminal ...
0
votes
1answer
965 views

Why doesn't dig myip.opendns.com @resolver1.opendns.com use sshuttle's proxy?

I am using the great technique from How can I get my external IP address in a shell script? to find my public IP address: dig +short myip.opendns.com @resolver1.opendns.com I'm also using sshuttle ...
-4
votes
2answers
332 views

how do i check if an input argument of a bash script is a base ten number? [closed]

I need to check if the input argument of a bash script is a base ten number. How can I do?
0
votes
1answer
26 views

How to get SOHO server IP address to laptop?

Pursuant to this question, what are some good ways to get that information to an external host? Can I encrypt it first? I've sent it in the clear before with email but I've also gotten my mail ...