Sponsored Content
Special Forums IP Networking How to know local IP address in X-Terminal? Post 302745175 by Arun_Linux on Monday 17th of December 2012 01:57:31 AM
Old 12-17-2012
Network How to know local IP address in X-Terminal?

Im using a X-Terminal in my windows pc to connect to a Linux server.
Is there a way to know my local IP address in my x-terminal console?

Here are few commands which didnt help me:

Code:
ss_cc@MGTS5026-13sh1:~> finger
Login      Name                  Tty      Idle  Login Time   Where
loadhlr                          pts/11     12     Mon 10:53 
loadnew                          pts/17    10d  Dec  6 13:20 
loaduser   loaduser              pts/6      1d     Fri 11:03 
ss_cc                            pts/12      -     Mon 10:41 
ss_smsc                          pts/10     52     Sun 10:45 
st_smsc                          pts/13     22     Mon 10:42 


ss_cc@MGTS5026-13sh1:~> w
 11:13:44 up 88 days,  1:48,  6 users,  load average: 0.68, 0.94, 1.37
USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT
loaduser pts/6     Fri11   39:58m  1.03s  0.02s -bash
ss_smsc  pts/10    Sun10    5:14   1.04s  0.01s -bash
loadhlr  pts/11    10:53   20:15   0.51s  0.02s -bash
ss_cc    pts/12    10:41    0.00s  0.09s  0.01s w
st_smsc  pts/13    10:42   30:54   1.40s  0.01s -bash
loadnew  pts/17    06Dec12 10days  1.33s  0.01s -bash

ss_cc@MGTS5026-13sh1:~> who
loaduser pts/6        2012-12-14 11:03
ss_smsc  pts/10       2012-12-16 10:45
loadhlr  pts/11       2012-12-17 10:53
ss_cc    pts/12       2012-12-17 10:41
st_smsc  pts/13       2012-12-17 10:42
loadnew  pts/17       2012-12-06 13:20

 

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::CustomSource(3pm)	 Perl Programmers Reference Guide     CPANPLUS::Shell::Default::Plugins::CustomSource(3pm)

NAME
CPANPLUS::Shell::Default::Plugins::CustomSource - add custom sources to CPANPLUS SYNOPSIS
### elaborate help text CPAN Terminal> /? cs ### add a new custom source CPAN Terminal> /cs --add file:///path/to/releases ### list all your custom sources by CPAN Terminal> /cs --list ### display the contents of a custom source by URI or ID CPAN Terminal> /cs --contents file:///path/to/releases CPAN Terminal> /cs --contents 1 ### Update a custom source by URI or ID CPAN Terminal> /cs --update file:///path/to/releases CPAN Terminal> /cs --update 1 ### Remove a custom source by URI or ID CPAN Terminal> /cs --remove file:///path/to/releases CPAN Terminal> /cs --remove 1 ### Write an index file for a custom source, to share ### with 3rd parties or remote users CPAN Terminal> /cs --write file:///path/to/releases ### Make sure to save your sources when adding/removing ### sources, so your changes are reflected in the cache: CPAN Terminal> x DESCRIPTION
This is a "CPANPLUS::Shell::Default" plugin that can add custom sources to your CPANPLUS installation. This is a wrapper around the "custom module sources" code as outlined in "CUSTOM MODULE SOURCES" in CPANPLUS::Backend. This allows you to extend your index of available modules beyond what's available on "CPAN" with your own local distributions, or ones offered by third parties. perl v5.18.2 2014-01-06 CPANPLUS::Shell::Default::Plugins::CustomSource(3pm)
All times are GMT -4. The time now is 07:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy