10-22-2012
How to Find another IP address
Hi Guys,
I want to find another(Local host) machine IP address from my machine.. We are all connected in the same server, I mean same LAN.
What i done is
Connected with that user machine using SSH and SU.. After that i used IFCONFIG but it shows my Ip address. Can not able to get the destination machine IP address. How could i do that???
---------- Post updated at 09:54 AM ---------- Previous update was at 09:38 AM ----------
Is there any other command to find..??
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I don't have root access. How do I find i.p address of our sun server? Thanks. (4 Replies)
Discussion started by: vpotluri
4 Replies
2. UNIX for Advanced & Expert Users
Hi, I am wondering how I can find the network address under following situation.
Things available:
1. An active network drop without knowing any details about the network.
2. I have windows, Linux, and Solaris machine available to use.
Things to achieve:
1. Find out the... (5 Replies)
Discussion started by: jiashi2
5 Replies
3. HP-UX
I'm trying to find the IP address of a print queue. I tried this, but nada.
cat /etc/hosts | lp -d lp01
Looked in the hosts file but it's not there (2 Replies)
Discussion started by: abNORMal
2 Replies
4. IP Networking
I connect to my client's network via VPN. We have a UNIX box there & I would like to know IP address of my PC when I connect to UNIX box using Putty software. I checked this command - /usr/sbin/ifconfig -a and it showed me the output
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232... (4 Replies)
Discussion started by: gppande
4 Replies
5. UNIX for Advanced & Expert Users
Could anyone help me to identify the IP address of a printer queue with its printer queue name information . (1 Reply)
Discussion started by: lenin1985
1 Replies
6. AIX
How to find the router IP address (2 Replies)
Discussion started by: AIXlearner
2 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I got a list of IP address from which I would like to remove the duplicates. I cat the file and pipe it to uniq -u or uniq -c, I got the same output with all the duplicates. Can anybody please tell me how I can remove the duplicates IPs from this file? This is what I used.
cat filename |... (3 Replies)
Discussion started by: Pouchie1
3 Replies
8. Red Hat
Hi all,
I am new to this forum and this is my first question :). Using Red hat Linux.I tried to find file which stores IP address based on different helps given in this forum but did not get success. Here is the system details:
-bash-3.2$ lsb_release -a
LSB Version: ... (2 Replies)
Discussion started by: Barkha
2 Replies
9. IP Networking
I'm trying to remotely probe a range of IP addresses. First I need a list of IP addresses for a very small geographic area. I've had a lot of trouble obtaining them. I would like to find a database or something.
Suppose I do get the data. Can I see if that IP address is in use by someone? Can I... (2 Replies)
Discussion started by: rockandAir
2 Replies
10. Shell Programming and Scripting
Hi,
I am trying to write a script that will check all used IP on the server and then print me an addressees that are not in use. Problem is in comparing two variables
#!/bin/bash
NETSTAT=$(netstat -ntp | awk '{ print $4 }' | grep -v "127.0.0.1" | cut -d ":" -f1 | grep "^"|sort | uniq )... (6 Replies)
Discussion started by: nemesis911
6 Replies
YPWHICH(1) BSD General Commands Manual YPWHICH(1)
NAME
ypwhich -- return hostname of YP server of map master
SYNOPSIS
ypwhich [-d domain] [[-t] -m [mname] | host]
ypwhich -x
DESCRIPTION
The ypwhich utility tells which YP server supplies YP services to a client, or which is the master for a map. If invoked without arguments,
it gives the YP server for the local machine. If host is specified, that machine is queried to find out which YP server it is using.
The options are as follows:
-d domain
Specify a domain other than the default domain.
-t Inhibit translation of map nicknames to their corresponding map names.
-m [mname]
Find the master YP server for the named map. No host may be specified with the -m option. The mname argument can be a map name or
nickname. If mname is omitted, ypwhich will produce a list of available maps.
-x Display the map nickname table.
SEE ALSO
domainname(1), ypcat(1), ypmatch(1), yp(8), ypbind(8), yppoll(8), ypset(8)
AUTHORS
Theo De Raadt
BSD
February 23, 1994 BSD