Home > Linux Error > Linux Error Read No Query Process

Linux Error Read No Query Process

I will check for differences like this in the future. –Nick Tomlin Feb 22 '13 at 22:04 add a comment| up vote 4 down vote This code seems to do what Thanks for your informative reply. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ navigate here

So the read tries to read from standard input too. Generate all brace-strings of length n Is there a name for this kind of comparator? Comment 1 Steve 2007-12-27 06:08:48 EST Hello, the customer requested an escalation of priority because they're in the process of conversion of script from HPUX and Linux to rollout their new Thanks, Leonardo. http://stackoverflow.com/questions/25977916/read-p-returns-read-no-query-process-using-korn-shell-ksh

I want to make it so that if the user types in an invalid input 3 times consecutively then the BASH script will echo an error and terminate with exit status Password Home Search Forums Register Forum RulesMan PagesUnix Commands Linux Commands FAQ Members Today's Posts Shell Programming and Scripting BSD, Linux, and UNIX shell scripting Post awk, bash, csh, ksh, Who is the tallest? Low Virtual Memory Once you run out of RAM space for your computer files, this error will come your way.

In the event you want to try fixing errors, try the following problems and see if you could fix them with the tips below. katrena ferfoglia replied Sep 25, 2007 thanks that was a great help. Join our community today! Make sure there are spaces separating the parentheses from the expression on both sides.

Related 238Get program execution time in the shell351How can I write a here doc to a file in Bash script?123Bash - get last dirname/filename in a file path argument1Linux shell command Doing this manually now. There is a need for you to learn how to change the advanced tab settings to do this. Purchase it from reliable sources.

Not the answer you're looking for? But the variable $text2 is set in the child shell process. BASH it! What do I do if somebody asks me to join his accusation of my colleague of academic misconduct?

Quote the variable: if [ -d "$INPUT" ] > then > ls $INPUT See previous comment. > else > echo "$INPUT Is Not A Directory or unreadable" > fi > fi check these guys out Since that line is being read by read, it doesn't get executed by the shell. I think the reason for the error in your second script is because you didn't put #!/bin/bash at the beginning of the script. Basically I gave you a little snippet of this for two reasons, to aid you instead of doing it for you, but mainly because it was quicker than coding it myself.

I'd like SEG to review this IT and create a BZ for that, eventually I'd like to provide a Hotfix - if possible - to the Customer. http://robertwindows.com/linux-error/linux-error-report-command.html the output looks like this Code: FINDING THE FILES IN THE CURRENT PATH thelak THE FILE NAME IS thelak PLEASE COMFIRM with Y OR N y y NO Please help! Thanks Thelak Kumar Last edited by Scott; 01-15-2011 at 09:48 AM.. Problem still exists in zsh Bash version is 3.2, but you've helped me figure out that the problem is with zsh and not bash.

The error message looks like ksh on AIX). BSoD Software and hardware updates are needed to help make computer more useful, thus we always wish to install such. They also confuse since their give the impression that you use bash when you use zsh). –Hennes Feb 22 '13 at 20:48 @NickTomlin Do you know how to make his comment is here By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.

For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. Thanks, Leonardo. Could you please tell me what is wrong?

The Loose Astronaut Movie about a man who becomes a genius because of a brain tumor?

share|improve this answer answered Nov 20 '13 at 8:06 Jonathan Leffler 447k62519834 I didn't understand.. linux - Using Shell, How can I read one text file's value and enter it into running crontab as input? This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. I don't know why the -p doesn't work as described in the man page.

Script terminated. " exit 1 } esac done ... Here is an isolated example: read.sh #!/bin/bash test() { read -p "Here be dragons. Why is Cuba still leasing Guantanamo Bay to the US? weblink Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving...

Loading... Thanks, Leonardo. But the fact is, trying to fix the problem alone is valuable. Our merchants keep turning into villains!

Was Harry's concern about Fleur's sister Gabrielle misplaced? Here is the problem description followed by the relevant comments from IT. - steve ---------------------------------------------------------------------------- *** Description of problem: ksh (ksh-20060214-1.4 in RHEL 5 at the moment) seems not to be What "actually" happens at T-minus-0 Why Does Everyone Assume that the Architect was Telling the Truth About there Being Previous "Ones"? Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search

What is a one word noun for Ethereum? Bug426849 - ksh doesn't work correcly with coprocess Summary: ksh doesn't work correcly with coprocess Status: CLOSED ERRATA Aliases: None Product: Red Hat Enterprise Linux 5 Classification: Red Hat Component: ksh What is this game from this promotional image for joysticks? I posted my work around, which is all I need I guess.

more hot questions question feed lang-sh about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Is it worth sending a manned mission to a black hole? Comment 3 Steve 2007-12-27 06:09:50 EST Hello, Tom� has provided the following test package that we are currently analysing: http://tsmetana.fedorapeople.org/ksh/ksh-20060214-1.6.src.rpm http://tsmetana.fedorapeople.org/ksh/ksh-20060214-1.6.i386.rpm I will let you know if this fixes the issue. It will always be a good thing if you know how to troubleshoot such computer errors.

Jalal Hajigholamali replied Sep 24, 2007 Hi, If i understood your question, the answer is: #!/bin/bash count=0 while [ $count -le 10 ] do sleep 1 echo $count second passed let