The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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
Shell script to catch PL/SQL return values Veera_Raghav Shell Programming and Scripting 1 12-19-2008 05:47 PM
Enter Crtl+U character in shell script ashish_uiit Shell Programming and Scripting 3 06-30-2008 05:01 AM
writing Enter key inside in shell script bishweshwar Shell Programming and Scripting 3 01-04-2008 12:45 PM
using enter key in shell script bishweshwar UNIX for Advanced & Expert Users 1 06-06-2007 11:24 PM
How to run unix commands in a new shell inside a shell script? hkapil Shell Programming and Scripting 2 01-04-2006 06:56 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-05-2009
plaban.rout plaban.rout is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 7
Smile How to catch ENTER key inside the shell script?

Hi,

I have a script in which i have to ask user to press the ENTER key to proceed further. can you please help me how can i achive this in my scripting?


echo "All the executables builded Successfully "
echo " Press Enter to Go Back to the Main Menu"
read key
if [ $key == 13 ]
then
main_menu_selector
fi

Thanks in Advance.....
Plaban
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0