10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I saw several thread for this issue but none addresses my issue.
I have tried read -t but the result is read bad options
My requirement is
1. Ask for input
2. If input = y or no input in 60 seconds
then continue processing
else
exit
fi
Kindly consider this urgent. (8 Replies)
Discussion started by: rprasad
8 Replies
2. Shell Programming and Scripting
#!/bin/sh
for ip in $(cat /root/Desktop/ftp.txt)
do
HOST=$ip
USER='bob'
PASS='bob'
ftp -n $HOST <<EOF
user bob bob
EOF
echo "$ip"
done
the Above code i want to use check and verify login works on multiple ftp servers on my network. However the ftp servers are dynamic in setup... (5 Replies)
Discussion started by: Noledge
5 Replies
3. UNIX for Dummies Questions & Answers
Hello UNIX users,
Thanks for helping me in my earlier post. Now, I am facing a timeout issue when ever I am transferring a zipped file from my server to client's server.
If the zipped file size is below 3 MB, it goes fine. Anything above that fails.
Below is the part of screenshot from... (1 Reply)
Discussion started by: st3636
1 Replies
4. UNIX for Dummies Questions & Answers
hi,
i have many ksh shell scripts running "rsh" command and sometimes the remote host doesn't answer so the rsh command doesn't return data and the script waits.
How can i modify this to have a forced return to continue my script , a kind of controlled timeout ?
thanks in advance... (0 Replies)
Discussion started by: Nicol
0 Replies
5. Linux
is there a way to add a timeout parameter to telnet when connecting to any IP address?
like, if this IP doesn't respond within 10 seconds, abort.
thanks
i'm looking for something like this:
telnet gaggaga.com 443 -t 10 (3 Replies)
Discussion started by: SkySmart
3 Replies
6. Linux
Hi All
I have a nice little script that i have written in Perl, in it use RSH ( yes i know it is i should being using ssh, but it i secure network it is being run on) the idea of the script it that it will RSH into a machine and then follow out a command, the problem i am running into is if the... (3 Replies)
Discussion started by: John101
3 Replies
7. Shell Programming and Scripting
When I run a script where the 1st parameter is ip address
ftp -n -i -v $1
I hang here if the ip is wrong
how to set a timeout something like
if (20s not complete "ftp -n -i -v $1") then
echo "error"
fi
Thanks a lot. (14 Replies)
Discussion started by: uativan
14 Replies
8. Shell Programming and Scripting
I am scp'ing a file from a server (servera) to my server (serverb)
If servera is down - the scp never times out ... it just hangs eternally..
It is possible to specify a timeout in my script - so if scp fails/hang for more than 60 seconds I assume its failed ?
I am aware there is some... (3 Replies)
Discussion started by: frustrated1
3 Replies
9. Solaris
Hello everyone
I am a new one,I want to know how to get the solaris force the loginer out if he do not in a time
thanks (4 Replies)
Discussion started by: lyh003473
4 Replies
10. HP-UX
How can I kick a user out after being idle for a certain amount of time, would prefer not to use scripts, will TMOUT work on HP-UX? (5 Replies)
Discussion started by: csaunders
5 Replies