The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
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
Special Character Check in Shell script mradul_kaushik Shell Programming and Scripting 1 03-24-2006 05:54 PM
HELP with Enter Character zecarlos Shell Programming and Scripting 1 01-30-2002 12:25 PM
Shell script: Cut / (slash) character in string ThuongTranVN UNIX for Dummies Questions & Answers 4 01-30-2001 12:35 PM

Closed Thread
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
  #1 (permalink)  
Old 06-29-2008
ashish_uiit ashish_uiit is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 25
Enter Crtl+U character in shell script

hi
I have some program which accepts "Crtl+U" input, Now i want to run it thorugh my written script ...all other inputs are accepted but how to supply this input.
I am supplying input parameters to the program named EX as below.
=================================
main.sh
.
.
EX<<EOF
parameter 1
parameter 2
CRTL + U ---------<How to supply this one?>
paramert 3
exit
<<EOF
.
.
.
=================

please suggest.

thanks in advance.
Ashish
  #2 (permalink)  
Old 06-29-2008
chihung chihung is offline
Registered User
  
 

Join Date: Jun 2008
Location: Singapore
Posts: 48
To input Ctrl-U you input sequence has to be:

Ctrl-V Ctrl-U
  #3 (permalink)  
Old 06-29-2008
ashish_uiit ashish_uiit is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 25
Quote:
Originally Posted by chihung View Post
To input Ctrl-U you input sequence has to be:

Ctrl-V Ctrl-U
I tried but its not working ..
  #4 (permalink)  
Old 06-30-2008
chihung chihung is offline
Registered User
  
 

Join Date: Jun 2008
Location: Singapore
Posts: 48
It works for me. BTW, try to use vi to edit your shell script.

The sequence is:
Hold "Ctrl" key press "V"
Still holding on "Ctrl" key press "U"
Closed Thread

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 11:44 PM.


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