10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have been trying to do a small fun project for myself.
I want to run a command for 45 seconds.
And to get the final output of this command, the script requires I push the "q" key on my keyboard and then the final output file becomes available.
I tried the following script. But it... (12 Replies)
Discussion started by: jacobs.smith
2. Shell Programming and Scripting
I want to detect key pressed in my .cgi web page, but it does not work even I found the code in other web site.
My code is :
# PATH defination
# ================================================... (2 Replies)
Discussion started by: Shuinvy
3. UNIX for Dummies Questions & Answers
I have 4000 list files and 4000 sequence data files. Each list file contains a number of 'headers' and data file contains 'header and data'. I would like to extract data from the data file using the list file and write into a new file. As each of the files are quite large, an efficient piece... (6 Replies)
Discussion started by: Fahmida
4. Shell Programming and Scripting
I have written a shell script which will invoke perl script infinitly in the background in a loop. Code will do as:Within while loop, perl script will be run in background, get the pid and notify pid in though mail. then wait for pid to be completed before going for next iteration. I am... (1 Reply)
Discussion started by: jramesh1
5. Shell Programming and Scripting
Sorry, for my not so perfect english!
I want to stop bash shell script execution until any key is pressed.
This line in a bash shell script
read -n1 -r -p "Press any key to continue..." key
produces this error
When I run this from the command line
usera@lynx:~$ read... (4 Replies)
Discussion started by: linuxinho
6. Shell Programming and Scripting
OLD Question --> disable-completion not solved
My bash Menu script ping process problem.
If ping still running and users press SCREEN is Blank...
Cant Members help me.. kill signal or others scripting for my case, btw i use Linux..
My Bash Script :
... (1 Reply)
Discussion started by: carnegiex
7. Shell Programming and Scripting
How can I trap a character press in the shell script.
For eg:- I have a script runinng a infinite loops , I will need to quit if q is pressed.
I have seen the traping the signal , but they give option only for traping the defined interrupt signals. But those does not help me here. (3 Replies)
Discussion started by: praveenbvarrier
8. Shell Programming and Scripting
Can you help me with this issue:
I have to generate the numbers say from 1001 for each record in a file based on a key field,
the catch is the generated number should be unique based on key column.
8908 ... (6 Replies)
Discussion started by: sbasetty
9. UNIX for Dummies Questions & Answers
I am trying to test input from the user, if they press enter with out an Y or N. I have the characheter thing sorted but when it comes to a blank or empty key press I am having trouble.
if ; then
echo "Sorry, that is an invalid choice!"
I am using a KSH script in... (3 Replies)
Discussion started by: jagannatha
10. Shell Programming and Scripting
I would really like to have a script that will accept the key press from the user with out having to press the enter key afterwards.
echo "Press Y to print \c"
At this point the user has to press the enter key to continue. Is there a way to accept the key press from the... (3 Replies)
Discussion started by: jagannatha