Home > Linux Error > Linux Error Read No Query Process

Linux Error Read No Query Process

Is it worth sending a manned mission to a black hole? They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. There is a need for you to learn how to change the advanced tab settings to do this. Even better: Code: [email protected]:~$ dict pseudocode 1 definition found From The Free On-line Dictionary of Computing (27 SEP 03) [foldoc]: Pseudocode A notation resembling a programming language but not intended for this contact form

You can solve this with <<'!' -- putting quotes around the end-marker means that the here-document should be treated as a literal string, and variables should not be expanded. causticmtl Programming 5 07-13-2003 10:59 PM All times are GMT -5. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. 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.

You are currently viewing LQ as a guest. Applications that are not compatible with the modules and faulty drivers are just two of the causes why these errors occur. Are you new to LinuxQuestions.org? It is not needed it you run it in any other way or if you put it in an startup script.

Some problems might get worse as time passes. more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science For more information on the solution and/or where to find the updated files, please follow the link below. Log into your account your username your password Forgot your password?

Forum Operations by The UNIX and Linux Forums Home Spring Mybatis Apache Android IOS Objective-c Bootstrap Jquery Angularjs Exception Tags Home > linux - read -p returns "read: no query process" What you need is to set a counter and increment it when an incorrect/invalid answer is given; then you can check this value and if it equals 3 you can return Could you please tell me what is wrong? jamescondron View Public Profile View LQ Blog View Review Entries View HCL Entries Visit jamescondron's homepage!

What is the inner cover of the winter shoes called in English? I posted my work around, which is all I need I guess. Not the answer you're looking for? Quote the variable: if [ -d "$INPUT" ] > then > ls $INPUT See previous comment. > else > echo "$INPUT Is Not A Directory or unreadable" > fi > fi

But the fact is, trying to fix the problem alone is valuable. pop over to these guys A world with a special political system more hot questions question feed lang-bsh about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback echo "You are now in a here-document" read -p "Enter some more text : " text2 echo "You also entered : $text2" echo "End of the here-document" ! Find More Posts by jamescondron 03-16-2010, 06:25 AM #6 lupusarcanus Senior Member Registered: Mar 2009 Location: USA Distribution: Arch Posts: 1,022 Blog Entries: 19 Original Poster Rep: Quote: Originally

It usually combines some of the structure of a programming language with an informal natural-language description of the computations to be carried out. weblink In the last script, redirecting input from /dev/stdin doesn't do anything, because that's where input is already coming from. Flowcharts can be thought of as a graphical alternative to pseudocode. What "actually" happens at T-minus-0 A paper I received to review has (independently) duplicated work that we are writing up.

All Rights Reserved. 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! Comment 4 Steve 2007-12-27 06:10:23 EST Hello, I confirm that the customer is happy with this test package: they've run all their scripts, they just have a minor problem (not connected navigate here Since that line is being read by read, it doesn't get executed by the shell.

Try below command in KSH to do the same action: 12 echo "Enter the option:\c"read input_variable Author Posts Reply To: ksh - read: no query process Your information: Name (required): If you are denied entry to a country at the airport, can you chose to fly to another destination? Password Linux - Newbie This Linux forum is for members that are new to Linux.

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.

Be open for the possibility that the file taken from the web may not work. Sources; "I Modified an Existing Table in Power Query and Now it Won't … - http://www.powerpivotpro.com/2014/07/i-modified-an-existing-table-in-power-query-and-now-it-wont-refresh-a-fix/ Linux Error Read No Query Process 5 out of 5 based on 57 ratings. Get help Create an account Create an account Welcome! Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us.

I want the user to give a confirmation before I do so. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. Register for an account your email your username A password will be e-mailed to you. his comment is here The chances are that the shell has read everything so the read comes up empty.

What is this game from this promotional image for joysticks? echo "You are now in a here-document" > /dev/stdout read -p "Enter some more text : " text2 < /dev/stdin echo "You also entered : $text2" > /dev/stdout echo "End of 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. Is space piracy orbitally practical?

Word for a single tunnel within a "tunnel complex" or the complex itself Movie about a man who becomes a genius because of a brain tumor? Reason: fixed code elipses misplacement lupusarcanus View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by lupusarcanus View Blog 03-16-2010, 05:36 AM #2 Movie about a man who becomes a genius because of a brain tumor? Reason: Code tags Remove advertisements Sponsored Links thelakbe View Public Profile Find all posts by thelakbe

#2 01-15-2011 Leo Gutierrez Registered User Join Date:

It does not matter if you have the latest operating-system because no matter what type of OS you are using, you're still prone to this error. Unknown replied Sep 26, 2007 On Wed, 26 Sep 2007, jalal.hajigholamali via shellscript-l wrote: > #!/bin/sh > while [ "$INPUT" != "exit" ] You should initialize INPUT in case it has onebuck View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Find More Posts by onebuck View Blog Tags bash, input, invalid, script Thread Password recovery Recover your password your email A password will be e-mailed to you.

Can you have negative sets? while true do echo -n " Do you agree to these terms? (y/n): " read CONFIRM case $CONFIRM in y|Y) break ;; n|N) echo " ERROR 5: User declined the agreement. What "actually" happens at T-minus-0 Why Does Everyone Assume that the Architect was Telling the Truth About there Being Previous "Ones"? I thought those were not allowed? 3) '#!/usr/bin/env bash' is probably better. 4) Which bash version? (I tested with bash 4.1.10 on FreeBSD and got no errors) –Hennes Feb 22 '13

since ksh is quite old and buggy. Same output when I place it in my .bashrc Edit:: @hennes I want the function to be in a config file, so I can call it from whatever directory (ideally my Customizing the Personalization Rules The eruption of Eyjafjallajökull? Is it ethical to use proprietary (closed-source) software for scientific computation?

fi (Quoting shell variables is generally a good idea, too.) share|improve this answer edited Mar 12 '13 at 1:45 answered Feb 22 '13 at 21:35 Scott 11.7k112750 Thanks for Click Here to receive this Complete Guide absolutely free. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Code: while true do echo 'FINDING THE FILES IN THE CURRENT PATH' read a c=$a echo 'THE FILE NAME IS' $c 'PLEASE COMFIRM with Y OR N' read b d=$b echo