11-04-2008
Well if there is some problem can we timeout the cd command?
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. Shell Programming and Scripting
I have a script that at some point will ask the interactive user a question:
#!/bin/ksh
echo "What is your access code?"
read ans
...
Sometimes this script is run by other scripts and there are no interactive users. The script then hangs on the "read" command, waiting for a user response... (5 Replies)
Discussion started by: rm-r
5 Replies
4. 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
5. Shell Programming and Scripting
HI,
Does anybody know if its possible to execute a command through exec,
shell exec, system and if the program doesn't terminate in N seconds
returns control to PHP ?
reg,
research3
---------- Post updated 10-16-09 at 12:20 AM ---------- Previous update was 10-15-09 at 11:03 PM... (1 Reply)
Discussion started by: research3
1 Replies
6. Shell Programming and Scripting
Hi,
I've written a very robust script to get an external IP address from 'behind' a router. It uses many web pages randomly choosing which one/ones to use at run time. The "fetch the web page containing the IP address" is handled by either wget or curl both of which have their 'max time for the... (6 Replies)
Discussion started by: gencon
6 Replies
7. Shell Programming and Scripting
I probably read all the threads in almost all the forums for a solution to my need. I am a beginner in shell scripting and I dont have a perfect solution yet. Below is my code snippet.
idql -n $REPOSITORY_NAME.$cs -Udmadmin -P"" -R$DM_SCRIPTS/test.api > /dev/null 2>&1
if ; then
echo... (7 Replies)
Discussion started by: vishnudev1
7 Replies
8. Shell Programming and Scripting
Hi All,
I have a situation where we need to send out mails from our Unix server to different mailing ids inside our scripts.The mails are working fine.But we have occasional issues where we are getting time out errors from the SMTP server while sending out mails.
Command that we are using... (3 Replies)
Discussion started by: DevotedPupil
3 Replies
9. Shell Programming and Scripting
Hi,
I am running a ssh connection test in a script, how can I add a timeout to abolish the process if it takes too long?
ssh -i ~/.ssh/ssl_key useraccount@computer1
Thank you.
- j (1 Reply)
Discussion started by: hce
1 Replies
10. 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
AXCTL(8) Linux System Managers Manual AXCTL(8)
NAME
axctl - Configure/Kill running AX.25 connections.
SYNOPSIS
axctl [-v] port dest src window|t1|t2|t3|n2|idle|paclen|kill [parm]
DESCRIPTION
The axctl command is designed to be a multi-function command that allows miscellaneous commands to be issued to the Linux AX.25 protocol
layer for existing AX.25 connections. The connection is uniquely identified via the combination of port, destination callsign and source
callsign, with that information the kernel is able to change the parameters, or abort the connection.
Many of the options are similar to those found in axparms and perform the same function. Only one parameter may be changed on each invoka-
tion of axctl.
OPTIONS
-v Displays the version number.
window window Sets the window size for the AX.25 connection.
t1 t1-timeout Sets the initial T1 timeout value for the AX.25 connection, the value is given in seconds.
t2 t2-timeout Sets the T2 timeout value for the AX.25 connection, the value is given in seconds.
t3 t3-timeout Sets the T3 timeout value for the AX.25 connected, the value is given in seconds.
n2 n2-count Sets the maximum number of tries for the AX.25 connection.
idle idle-timeout Sets the value for the idle timer for the AX.25 connection, the value is in minutes.
paclen paclength Sets the maximum packet length that may be transmitted on the AX.25 connection.
kill Will abort an existing AX.25 connection.
FILES
/etc/ax25/axports
SEE ALSO
call(1), getsockopt(2), setsockopt(2), ax25(4), axparms(8), axports(5).
AUTHORS
Joerg Reuter DL1BKE <jreuter@poboxes.com>
Linux 2 August 1996 AXCTL(8)