The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Enter to OBP jess_t03 SUN Solaris 5 02-13-2008 09:14 AM
writing Enter key inside in shell script bishweshwar Shell Programming and Scripting 3 01-04-2008 09:45 AM
read the ENTER key sars Shell Programming and Scripting 4 11-27-2006 05:34 AM
possible to run script to enter info within a program? lianderthal Shell Programming and Scripting 1 06-09-2005 03:40 PM
HELP with Enter Character zecarlos Shell Programming and Scripting 1 01-30-2002 09:25 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-06-2007
Registered User
 

Join Date: Sep 2006
Posts: 55
using enter key in shell script

without pressing the enter key ..manually...

how can we read the enter key ..from the shell script..so that the script termintes automatically.

eg:

telnet a.b.c.d xxxx
now " how to read the enter key" tho terminate the script
Reply With Quote
Forum Sponsor
  #2  
Old 06-06-2007
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,328
You can read any user input using the 'read' command. If you want to do anything else, you need to explain your requirements a little better.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:40 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0