Sponsored Content
Special Forums IP Networking How to know local IP address in X-Terminal? Post 302745193 by Arun_Linux on Monday 17th of December 2012 02:35:38 AM
Old 12-17-2012
I tried your commands, that too doesnt help me..

Code:
ss_cc@MGTS5026-13sh1:~> who -a
                        2012-09-20 10:26               922 id=si    term=0 exit=0
           run-level 5  2012-09-20 10:26                   last=S
                        2012-09-20 10:26              2294 id=l5    term=0 exit=0
LOGIN      tty1         2012-09-20 10:26              3581 id=1
LOGIN      tty2         2012-09-20 10:26              3582 id=2
LOGIN      tty3         2012-09-20 10:26              3583 id=3
LOGIN      tty4         2012-09-20 10:26              3584 id=4
LOGIN      tty5         2012-09-20 10:26              3585 id=5
LOGIN      tty6         2012-09-20 10:26              3586 id=6
ss_capusr3 + pts/0        2012-12-13 16:28  old        17957
ss_capusr4 + pts/1        2012-12-17 09:53 01:58       27370
           pts/2        2012-12-05 09:38             30923 id=/2    term=0 exit=0


ss_cc@MGTS5026-13sh1:~> netstat -t
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 localhost:6014          localhost:57876         ESTABLISHED 
tcp        0      0 localhost:6020          localhost:53779         ESTABLISHED 
tcp        0      0 localhost:6019          localhost:56338         ESTABLISHED 
tcp        0      0 localhost:6019          localhost:56337         ESTABLISHED 
tcp        0      0 localhost:6014          localhost:57872         ESTABLISHED 
tcp        0      0 localhost:6010          localhost:46623         ESTABLISHED 
tcp        0      0 localhost:6020          localhost:53789         ESTABLISHED

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I get the IP address of my local unix box???

Hiya all, How do I get the IP address of my local unix box??? IPconfig - don't exist nslookup - only for other boxes.... I have my Fedora Server now on the office network. Can ping others, can get onto internet via web proxy.... Also: How do I create a Drive Share, so our windows... (9 Replies)
Discussion started by: marty 600
9 Replies

2. Shell Programming and Scripting

Easy way to get local IP address

I needed to get a machine's local IP address when not root (so no ifconfig). Eventually, I arrived at this convoluted solution that grabs the unique local IP info from netstat... netstat -n -t | awk '{print $4}' | grep -o "*\.*\.*\.*" |\ grep -v "127.0.0.1" | sort -u ...however I... (5 Replies)
Discussion started by: simonb
5 Replies

3. HP-UX

Get the terminal IP-ADDRESS

HI !!! I'm working under Windows-XP and Reflexion-X against a Unix HP-UX host. From a shellscript I need to open a new terminal window, I need the IP-ADDRESS for that. It is asked the user. It want to be able to obtain it automatically. WHO CAN I GET IT? THANKS. (2 Replies)
Discussion started by: josep55
2 Replies

4. UNIX for Dummies Questions & Answers

How can I know IP address of terminal?

Hi all, I am new in Unix world. I usually need to trace who connect to which terminal by IP address. So, could you please show me HOW TO RECOGNIZE which IP address connected to terminal? I use netstat by no luck. Thank you, (9 Replies)
Discussion started by: trinhnguyen
9 Replies

5. Shell Programming and Scripting

Local system IP address in UNIX

We have requirement to get the local system IP address of whoever logined the DataBase(sqlplus) or any process in application server. Actually I connected to application server thru putty and then conencted to Database using sqlplus command. we have tried below commands : who -u|grep... (4 Replies)
Discussion started by: siri_886
4 Replies

6. Programming

Redirecting Terminal to Local Application!

i wanted to execute some terminal commands on local linux, parse their output and display it to the user, i checked netcat source code but i couldnt understance it since im new to c (and linux at the same time). so i was wondering if there is away to run an instance of terminal hidden, read and... (15 Replies)
Discussion started by: JonhyM
15 Replies

7. Shell Programming and Scripting

Get Local IP address using Sed, Awk

Hi All, how to get solaris box local ip addresss in variable, using sed or awk utlities. Thanks, Mani Muthu (7 Replies)
Discussion started by: k_manimuthu
7 Replies

8. BSD

Link Local IPv6 Address

Hi, Am using FreeBSD7.4/i386 During IPv6 configuration, I added the following in rc.conf as Restarted IPv6 network using /etc/rc.d/network_ipv6 restart.. My problem is I need to set link local IPv6 address auto-configured.. Is my proceeding right?? I feel something missing to make... (0 Replies)
Discussion started by: Priya Amaresh
0 Replies

9. Debian

How to change local IP address?

I have a new Ethernet device that has a default IP address on a different subnet and need to change it. I have a Debian 6.0 host connected to the device with a crossover cable and have changed the host /etc/hosts and /etc/networks files to the same subnet as the new device and rebooted. Ping... (2 Replies)
Discussion started by: snorkack59
2 Replies

10. IP Networking

Can't get local IP address in getaddrinfo

Hi all, I am working with SIP protocol and am using SIPp to generate SIP traffic. But the call is not going through since I get the error; 2015-02-24 14:09:39:330 1424804979.330517: Can't get local IP address in getaddrinfo, local_host='NODE-01', local_ip=''. My ifconfig output is; ... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies
CPANPLUS::Shell::Default::Plugins::Remote(3perl)	 Perl Programmers Reference Guide	  CPANPLUS::Shell::Default::Plugins::Remote(3perl)

NAME
CPANPLUS::Shell::Default::Plugins::Remote - connect to a remote CPANPLUS SYNOPSIS
CPAN Terminal> /connect localhost 1337 --user=foo --pass=bar ... CPAN Terminal@localhost> /disconnect DESCRIPTION
This is a "CPANPLUS::Shell::Default" plugin that allows you to connect to a machine running an instance of "CPANPLUS::Daemon", allowing remote usage of the "CPANPLUS Shell". A sample session, updating all modules on a remote machine, might look like this: CPAN Terminal> /connect --user=my_user --pass=secret localhost 1337 Connection accepted Successfully connected to 'localhost' on port '11337' Note that no output will appear until a command has completed -- this may take a while CPAN Terminal@localhost> o; i * [....] CPAN Terminal@localhost> /disconnect CPAN Terminal> BUG REPORTS
Please report bugs or other issues to <bug-cpanplus@rt.cpan.org<gt>. AUTHOR
This module by Jos Boumans <kane@cpan.org>. COPYRIGHT
The CPAN++ interface (of which this module is a part of) is copyright (c) 2001 - 2007, Jos Boumans <kane@cpan.org>. All rights reserved. This library is free software; you may redistribute and/or modify it under the same terms as Perl itself. SEE ALSO
CPANPLUS::Shell::Default, CPANPLUS::Shell, cpanp perl v5.14.2 2014-09-29 CPANPLUS::Shell::Default::Plugins::Remote(3perl)
All times are GMT -4. The time now is 10:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy