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)
I'm working on an AIX Unix LPAR (AIX 3.5 00C3C9904C00 as returned by uname -a)
I can access this box using telnet, port 22 using adress IP A and B
A=AA.AA.XX.XX and B=AA.AA.YYY.YYY
I can confirm these 2 are the same space, I can see
I can't find address B listed anywhere... so I wonder what... (1 Reply)
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)
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)
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:
ss_cc@MGTS5026-13sh1:~> finger
Login Name Tty Idle Login Time Where
loadhlr ... (6 Replies)
hi
i want to open port 9100 and the connect server could not to connect to my application
this my results of netstat tulpn
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost:9100 ... (3 Replies)
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)
Hello,
I have a server in our DMZ that only has ports 80 and 443 open to the public networks. It runs webmail for our 10K employees' accounts. It's not necessary for our employees to access the server from anywhere except North America so I have blocked access from most of the world due to... (5 Replies)
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
LEARN ABOUT MOJAVE
isalnum
ISALNUM(3) BSD Library Functions Manual ISALNUM(3)NAME
isalnum -- alphanumeric character test
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <ctype.h>
int
isalnum(int c);
DESCRIPTION
The isalnum() function tests for any character for which isalpha(3) or isdigit(3) is true. The value of the argument must be representable
as an unsigned char or the value of EOF.
In the ASCII character set, this includes the following characters (preceded by their numeric values, in octal):
060 ``0'' 061 ``1'' 062 ``2'' 063 ``3'' 064 ``4''
065 ``5'' 066 ``6'' 067 ``7'' 070 ``8'' 071 ``9''
101 ``A'' 102 ``B'' 103 ``C'' 104 ``D'' 105 ``E''
106 ``F'' 107 ``G'' 110 ``H'' 111 ``I'' 112 ``J''
113 ``K'' 114 ``L'' 115 ``M'' 116 ``N'' 117 ``O''
120 ``P'' 121 ``Q'' 122 ``R'' 123 ``S'' 124 ``T''
125 ``U'' 126 ``V'' 127 ``W'' 130 ``X'' 131 ``Y''
132 ``Z'' 141 ``a'' 142 ``b'' 143 ``c'' 144 ``d''
145 ``e'' 146 ``f'' 147 ``g'' 150 ``h'' 151 ``i''
152 ``j'' 153 ``k'' 154 ``l'' 155 ``m'' 156 ``n''
157 ``o'' 160 ``p'' 161 ``q'' 162 ``r'' 163 ``s''
164 ``t'' 165 ``u'' 166 ``v'' 167 ``w'' 170 ``x''
171 ``y'' 172 ``z''
RETURN VALUES
The isalnum() function returns zero if the character tests false and returns non-zero if the character tests true.
COMPATIBILITY
The 4.4BSD extension of accepting arguments outside of the range of the unsigned char type in locales with large character sets is considered
obsolete and may not be supported in future releases. The iswalnum() function should be used instead.
SEE ALSO ctype(3), isalnum_l(3), isalpha(3), isdigit(3), iswalnum(3), ascii(7)STANDARDS
The isalnum() function conforms to ISO/IEC 9899:1990 (``ISO C90'').
BSD July 17, 2005 BSD