![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ssh/scp - can you specify timeout? | frustrated1 | Shell Programming and Scripting | 3 | 01-02-2008 07:57 PM |
| Giving "read" from standard input a timeout. | rello | Shell Programming and Scripting | 10 | 07-08-2005 08:54 AM |
| About the Timeout | lyh003473 | SUN Solaris | 4 | 07-24-2004 09:12 PM |
| timeout | csaunders | HP-UX | 5 | 02-27-2004 10:54 AM |
| how to set timeout for aix? | ichiro | UNIX for Dummies Questions & Answers | 3 | 01-27-2004 06:36 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
ksh read timeout
any idea on how to timeout the read statement for ksh?
for bash u can use read -t option -t timeout Cause read to time out and return failure if a complete line of input is not read within timeout seconds. This option has no effect if read is not reading input from the terminal or a pipe. thanks in advance! |
|
||||
|
I think he means
Code:
read -t10 variable_name |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|