10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
I am unable to pass Enter key stroke to shell script. Tried all options, but no luck.
Please help..
Script: bkpscript.sh
tam01# ./bkpscript.sh < file.txt
Mount volume 1 on /dev/rmt0.
Press Enter to continue.
tam01#
tam01#
tam01#
tam01# echo ""... (5 Replies)
Discussion started by: suresh3566
5 Replies
2. Shell Programming and Scripting
Hi All,
I have a XML file which is looks like as below. <<please see the attachment >>
<?xml version="1.0" encoding="UTF-8"?>
<esites>
<esite>
<name>XXX.com</name>
<storeId>10001</storeId>
<module>
... (4 Replies)
Discussion started by: Rajeev_hbk
4 Replies
3. UNIX for Dummies Questions & Answers
" Script for display sentences with special character"
Hi,
Could any one share a command how to display a line until my target word.
For ex: My file has the content as:
select * from db_wrk where col1 < col2
insert into table_name values('1','2','tst','wrk','dev','prod')
My target... (10 Replies)
Discussion started by: Kalaiselvi66
10 Replies
4. Shell Programming and Scripting
I need to put a small delay into a shell script. I'm looking for something smaller than "sleep" - a second is way too long. I want to sleep something like 10 milliseconds. I've tried "usleep" and "nanosleep", but the script doesn't recognize them.
I'm using the bash shell but I'm willing to... (9 Replies)
Discussion started by: harmlesscat
9 Replies
5. Shell Programming and Scripting
Hi,
I recently would like to write a shell script that
1. Runs in the background (can be done with "&", but i'd be happy for other solutions to keep programs running)
2. Does its stuff
3 THEN checks a specified folder for a size change over time (say, each 5 seconds. AND ONLY continues with... (9 Replies)
Discussion started by: pasc
9 Replies
6. Shell Programming and Scripting
Hello,
My goal is to run the same Shell script in a parallel mode. This script will get triggered from different machines and different application teams by some job scheduling tool.
They may trigger the process at the same time. so I want to have them in QUEUE ..and release them for execution on... (3 Replies)
Discussion started by: chetan_sonar
3 Replies
7. Shell Programming and Scripting
i have script like:
echo "enter name"
read a
I do not want to press enter key
i have tried with ascill of enter as (\013) but still it wait for enter ,
please resolve my problem (2 Replies)
Discussion started by: RahulJoshi
2 Replies
8. Shell Programming and Scripting
Hi all,
i would like to know how to introduce a delay in the execution of a cmd?
am trying to copy a file which is about 650 mb and then perform some actions on it..
however since its huge i would like to introduce a delay in exection until the process is over
i dont want it to proceed to... (10 Replies)
Discussion started by: wrapster
10 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Please tell me substitute for esc+\ (used in solaris) in case of sco unix.
Thanks,
Pintu (1 Reply)
Discussion started by: pintupatro
1 Replies
10. UNIX for Advanced & Expert Users
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 (1 Reply)
Discussion started by: bishweshwar
1 Replies