Sponsored Content
Top Forums Shell Programming and Scripting geting server name(ipaddress) Post 302093976 by babu@shell on Tuesday 24th of October 2006 08:24:02 AM
Old 10-24-2006
Question geting server name(ipaddress)

hi,
can any one say how to get the server name if we know the ipaddress

ie nslookup gives ipaddress if server name is given

in the same way can i have server name if i know ipaddress

thanks & regards
babu Smilie
 

10 More Discussions You Might Find Interesting

1. HP-UX

how to find ipaddress

Hi, Pls tell me any command in Hp-unix to find out the machine ipaddress Thanks, shruti (14 Replies)
Discussion started by: shruti_mgp
14 Replies

2. Solaris

I am geting error while trying to stop managed server of WEB LOGIC

Dear All, I am geting error while trying to stop managed server of WEB LOGIC through the command stop_wls managed1_wlsdom02.Can anyone tell me why I am geting this error?managed1_wlsdom02.pid exists at the path mentioned. Do you need any other details?... (0 Replies)
Discussion started by: ASHISH MISHRA
0 Replies

3. Shell Programming and Scripting

ipaddress in HP-UX

Hi, How can I figure out the IP address of my node in HP-UX? Here is uname -a: /throra10 >uname -a HP-UX finprod B.11.23 U ia64 3832216299 unlimited-user license This is to launch Xterminal. Thanks. (7 Replies)
Discussion started by: RockyC123
7 Replies

4. Shell Programming and Scripting

geting the real path

Hi there, Is there any way to obtain a real path from a weird path. For example : /foo/../bar/ -> /bar/ /foo/. -> /foo/ Thanks in advance Santiago (5 Replies)
Discussion started by: chebarbudo
5 Replies

5. UNIX for Advanced & Expert Users

how linux knows ipaddress of it?

which kernel data structure stores ipaddress. and how to change the ipaddress other that ifconfig. in case of dhcp client daemon how linux automatically assigns ipaddress fetched? Would some one answer these questions please? (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies

6. Shell Programming and Scripting

geting user input from php and using perl for execution

I am using festival speech synthesis system and I would like to allow user input in a browser. This will be taken by a php page which is then supposed to pass the input text to a perl script. The perl script should pass this text to the festival engine by executing a unix command. this in turn... (2 Replies)
Discussion started by: wairimus
2 Replies

7. Shell Programming and Scripting

geting a value out of awk script

the value of flag is reset inside the awk statments and is not getting echoed out of it. how can this be done?? #!/bin/ksh flag=0 awk -F '' '$2 == "ABCD" && $6 == "MNOP"{flag=1}' file.xml echo $flag I am always getting the value of flag as "0" , even after the $2 is "ABCD" and $6 is... (2 Replies)
Discussion started by: skyineyes
2 Replies

8. AIX

Geting a value dynamically from topas

Hi all, I got an idea to get a value (like Syscall or %comp details for example)dynamically from topas. Is there any way to do this. I guss there must be some door opened for this. I tried running topas and redirecting to a file but in vain. The idea is, script should run topas in... (4 Replies)
Discussion started by: jayadeava
4 Replies

9. UNIX for Advanced & Expert Users

Kernel Modules Not geting built

I installed in VM the Mandriva Linux with 2.6.27 kernel. But presently when I fire make the modules .ko does not get built. I get the following output on firing command in the kernel module folder. $ make Building first_driver.c ... make: Entering directory... (1 Reply)
Discussion started by: rupeshkp728
1 Replies

10. Shell Programming and Scripting

Not able to find the perfect code...Geting confused in between

I have to find last delimiter in each line of a file and store the value after the last '/' in a variable in ksh script...Pls Pls help me:(The file is as shown below: /opt/apps/cobqa/apps/abadv/bind/advc0007.bnd /opt/apps/cobqa/apps/abbrio/bind/naac6115.bnd... (5 Replies)
Discussion started by: bhavanabahety
5 Replies
SOCKS.CONF(5)							File Formats Manual						     SOCKS.CONF(5)

NAME
socks.conf - socks client configuration file syntax DESCRIPTION
The configuration file for the socks client library allow control over logging and server selection. It is divided into two parts, miscel- laneous settings and routes. A line can be commented using the standard comment character #. FORMAT
The miscellaneous settings have a keyword followed by a colon and the value. debug Setting this field to 1 turns on debugging. logoutput This value controls where the sends logoutput. It can be either syslog, stdout, stderr, a filename, or a combination. resolveprotocol The protocol used to resolve hostnames. Valid values are udp (default), tcp and fake. ROUTES The routes are specified with a route keyword. Inside a pair of parens ({}) a set of keywords control the behavior of the route. Each route can contain three address specifications; from, to and via. A route is selected for a connection based on the values within the route block. The route block can contain the following: ADDRESSES Each address field can consist of a ipaddress (and where meaningful, a netmask, separated from the ipaddress by a '/' sign.), a hostname, or a domainname (designated by the leading '.'). Each address can be followed by a optional port specifier. from The route is used only by requests coming from the address given as value. to The route is used only by requests going to the address given as value. via Address of socks server to be used for the connection. port Parameter to from, to and via. Accepts the keywords eq/=, neq/!=, ge/>=, le/<=, gt/>, lt/< followed by a number. A portrange can also be given as "port <start #> - <end #>", which will match all port numbers within the range <start #> and <end #>. command The server supports the given commands. Valid commands are bind, bindreply, connect, udpassociate and udpreply. and udpreply. Can be used instead of, or to complement, protocol. method List of authentication methods the client supports and which to offer the server. Currently supported values are none and username. protocol The protocols the server supports. Supported values are tcp and udp. proxyprotocol The proxy protocols the server supports. Currently supported values are socks_v4, socks_v5, and http_v1.0. EXAMPLES
See the example directory in the distribution. ENVIRONMENT
SOCKS_USERNAME Use SOCKS_USERNAME as the username when doing username authentication. SOCKS_PASSWORD Use SOCKS_PASSWORD as the password when doing username authentication. Not recommended as other users on the system might be able to see your password. FILES
/etc/socks.conf AUTHORS
For Inferno Nettverk A/S, Norway: Michael Shuldman <michaels@inet.no>: Design and implementation. Karl-Andre' Skevik <karls@inet.no>: Autoconf and porting. SEE ALSO
sockd(8) sockd.conf(5) Information about new releases and other related issues can be found on the Dante WWW home page at http://www.inet.no/dante. BUGS
See the accompanying BUGS file. New ones should be reported to dante-bugs@inet.no. February 17, 2001 SOCKS.CONF(5)
All times are GMT -4. The time now is 08:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy