03-29-2012
thanks bitlord for your reply. But none of your suggestions helped.
w command does give more info. but its not displaying the users terminal ip address.
ps -ef|grep username gives only the process run by the user.
ifconfig -a give servers ip address and
systemlogs has only system activities recorded, it has no details about ipaddress of the user logged in.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone, nice forum!
I need to know if there's a command that will show the IP Address of the machine you are logged into. Eg when you type hostname it returns the name of the machine, I need one that returns the IP address only. Can anyone help or suggest commands that are almost what I... (7 Replies)
Discussion started by: danhodges99
7 Replies
2. Shell Programming and Scripting
I know the hostname of the m/c which is in the network...
whats d command to know the ip address associated with the hostname. (1 Reply)
Discussion started by: suri
1 Replies
3. Cybersecurity
Hi,
I am trying to write a script which would figure out who has run which command and their IP. As i dont have any clue as to which commands would do this job, i request some gurus to help me on this.
Thanks
Vishwas (2 Replies)
Discussion started by: loggedout
2 Replies
4. Shell Programming and Scripting
hi,
i want to know how to grep inet address for below
below is the output of ifconfig command
/home/JA> ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:0A:5B:2E:E9
inet addr:161.239.203.18 Bcast:161.239.203.127 Mask:255.255.255.128
UP BROADCAST RUNNING... (3 Replies)
Discussion started by: mail2sant
3 Replies
5. AIX
AIX:Command to get netaddress/subnet address command in IPv4/IP6
Can anybody help us with a command to retrieve netaddress/subnet address command in IPv4/IP6 on aix machine.
net/subnet address is in the format 172.16.212.0(signifies all 255 machines in an IPv4 network) (2 Replies)
Discussion started by: rookie8278
2 Replies
6. Solaris
Dear All,
I hope you can help me.
I have a pair of E2900's I've inherited. Both running Solaris 9. Both have LOM> consoles. The problem I'm experiencing only occurs when connected to the /dev/console tty. Whenever I hit 'Enter' for a new line, I receive two new lines: -
myhost# ... (11 Replies)
Discussion started by: aleith
11 Replies
7. Shell Programming and Scripting
Hi,
I need to configure customized from address in mailx command.
Can you pls tell me the option for configuring from address.
Thanks
Latika (9 Replies)
Discussion started by: latika
9 Replies
8. UNIX for Dummies Questions & Answers
Currently I am using mailx command for sending mails.
But the mail is sent as from userid@servername by default.
Is it possible to customise the from mail address in mailx command?
Thanks (2 Replies)
Discussion started by: pandeesh
2 Replies
9. OS X (Apple)
i need to pull ip address out after this command
ifconfig | grep jnc0 -1
output:
BOBVILLAMAC:~ bvilla$ ifconfig | grep jnc0 -1 inet 10.16.91.1 netmask 0xffffff00 broadcast 10.16.91.255
does anyone know how to do that (1 Reply)
Discussion started by: KrazyKracker23
1 Replies
10. UNIX for Beginners Questions & Answers
hi~~
my Os is 6.1
i want to find heartbeat ip address from below result.
i think, is it en7 onto both nodes?
/usr/es/sbin/cluster/utilities/cllsif
Adapter Type Network Net Type Attribute Node IP Address Hardware Address Interface Name Global Name ... (2 Replies)
Discussion started by: tomato00
2 Replies
LEARN ABOUT DEBIAN
inetutils-ifconfig
IFCONFIG(1) User Commands IFCONFIG(1)
NAME
ifconfig - configure network interfaces
SYNOPSIS
ifconfig [OPTION...]
DESCRIPTION
NAME [ADDR] [broadcast BRDADDR] [pointopoint|dstaddr DSTADDR]
[netmask MASK] [metric N] [mtu N] [txqueuelen N] [up|down] [FLAGS]
Configure network interfaces.
-a, --all
display all available interfaces
-A, --address=ADDR
set interface address to ADDR
-B, -b, --broadcast=ADDR, --brdaddr=ADDR
set broadcast address to ADDR
-d, -p, --dstaddr=ADDR, --peer=ADDR
set destination (peer) address to ADDR
--down shut the interface down
--format=FORMAT
select output format (or set back to default)
-F, --flags=FLAG[,FLAG...] set interface flags
-i, --interface=NAME
configure network interface NAME
-m, --netmask=MASK
set netmask to MASK
--metric=N
set metric of interface to N
-M, --mtu=N
set mtu of interface to N
-s, --short
short output format
--up activate the interface (default if address is given)
-v, --verbose
output information when configuring interface
Linux-specific options
-T, --txqlen=N
set transmit queue length to N
-?, --help
give this help list
--usage
give a short usage message
-V, --version
print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
Known flags are: allmulti, automedia, debug, loopback, multicast, portsel, running, trailers, up
AUTHOR
Written by Marcus Brinkmann.
REPORTING BUGS
Report bugs to <bug-inetutils@gnu.org>.
COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for ifconfig is maintained as a Texinfo manual. If the info and ifconfig programs are properly installed at your
site, the command
info ifconfig
should give you access to the complete manual.
GNU inetutils 1.9 December 2011 IFCONFIG(1)