09-13-2001
Put these commands in a script and you just wrote your own diagnostic program.
Isn't there anything on freshmeat.net ?
10 More Discussions You Might Find Interesting
1. Programming
Hi,
Is there any unix equivalents available for the folllowing windows function ?
FindFirstFile
FindNextFile etc.....
Or do i have to write an equivalent api??
Can anybody help me to do the same??
thanks in advance
Ani (2 Replies)
Discussion started by: ani
2 Replies
2. Linux
hi all,
greetings,
please tell me how to start a java GUI program in the startup of the machine.
since it invokes a GUI is it possiable to entry the same in /etc/rc2.d/S99userdefinedfiles.
thanks in advance .,
:-) (1 Reply)
Discussion started by: raguramtgr
1 Replies
3. Programming
I am using IsDBCSLeadByteEx for windows, i would like to know whether there is any equivalent function in unix(linux) platform. (2 Replies)
Discussion started by: anjan_kumar_k
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have a shell variable which has a value 123456:abcdeg. I want to extract the value which is present before ":". Is there any command in Unix through which I can achieve this. Please suggest.
Thanks,
Saurabh (7 Replies)
Discussion started by: saurabhsinha23
7 Replies
5. Programming
Currently, Im trying to redesign some Unix-based C code to work on the Windows operating system and one problem I ran into when compiling was that the compiler failed to recognise scandir() (from my original Linux code)
Im aware that scandir() is a Unix-based function, so is there an equivalent... (1 Reply)
Discussion started by: JamesGoh
1 Replies
6. Shell Programming and Scripting
In Windows we use cmd.exe \c as the command SHell
What is its equivalent in UNIX ?
Thanx for all your help. (10 Replies)
Discussion started by: simonsimon
10 Replies
7. Linux
Hi,
I've set my Unix User Profile Variables as follows..
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
I want to set the same codepages in my Windows Vista Environment..
How can i do that..? Whether the variable names remain same ..?
Please help
Regards,
Vikram... (1 Reply)
Discussion started by: vickramshetty
1 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I am a frequent user of loacate in linux and really impressed with its speed and accuracy.
I would like to know if there is any such equivalent in UNIX. (not the find, which is relatively very slow)
Any locate packages which can be made available in UNIX(HP-UX) for this?
TIA,... (4 Replies)
Discussion started by: pradebban
4 Replies
9. Shell Programming and Scripting
I have a folder called "log" which has a few sub-folders say "fda" "fd7" "fdd" "fd6 .... "
I wish to fire the below command inside each subfolder starting with the folder with the latest time stamp.
grep "$greptime.*exit" Prod.$(hostname).log | grep $fdrdate_new
If the seach did not yield... (3 Replies)
Discussion started by: mohtashims
3 Replies
10. UNIX and Linux Applications
I want to replace Windows terminal server mostly due to cost reasons license cost for 2100 users goes out of roof.
The end-user is all windows but I want a jump server that is UNIX based , I have some experience with VNC but I don't want options exists in UNIX to run a terminal services for 2100... (10 Replies)
Discussion started by: lazerz
10 Replies
LEARN ABOUT DEBIAN
net::proxy::connector::dual
Net::Proxy::Connector::dual(3pm) User Contributed Perl Documentation Net::Proxy::Connector::dual(3pm)
NAME
Net::Proxy::Connector::dual - Y-shaped Net::Proxy connector
DESCRIPTION
"Net::Proxy::Connecter::dual" is a "Net::Proxy::Connector" that can forward the connection to two distinct services, based on the client
connection, before any data is exchanged.
CONNECTOR OPTIONS
This connector can only work as an "in" connector.
The "server_first" and "client_first" options are required: they are hashrefs containing the options necessary to create two "out"
"Net::Proxy::Connector" objects that will be used to connect to the requested service.
The "Net::Proxy::Connector::dual" object decides between the two services by waiting during a short timeout. If the client sends some data
directly, then it is connected via the "client_first" connector. Otherwise, at the end of the timeout, it is connected via the
"server_first" connector.
o host
The hostname on which the connector will listen for client connections. Default is "localhost".
o port
The port on which the connector will listen for client connections.
o server_first
Typically an "out" connector to a SSH server or any service that sends a banner line.
o client_first
Typically an "out" connectrot to a web server or SSL server.
o timeout
The timeout in seconds (can be decimal) to make a decision. Default is 1 second.
AUTHOR
Philippe 'BooK' Bruhat, "<book@cpan.org>".
ACKNOWLEDGMENTS
This module is based on a script named sslh, which I wrote with Frederic Ple "<sslh@wattoo.org>" (who had the original insight about the
fact that not all servers speak first on the wire).
Frederic wrote a C program, while I wrote a Perl script (based on my experience with connect-tunnel).
Now that "Net::Proxy" is available, I've ported the Perl script to use it.
COPYRIGHT
Copyright 2006 Philippe 'BooK' Bruhat, All Rights Reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2009-10-18 Net::Proxy::Connector::dual(3pm)