fi unexpected error in unix Lillie Louisiana

Address 1501 Farmerville Hwy, Ruston, LA 71270
Phone (318) 255-2555
Website Link http://www.csruston.com
Hours

fi unexpected error in unix Lillie, Louisiana

Unix & Linux Stack Exchange works best with JavaScript enabled current community chat Unix & Linux Unix & Linux Meta your communities Sign up or log in to customize your list. A better way to evaluate a certain determinant EvenSt-ring C ode - g ol!f How should I interpret "English is poor" review when I used a language check service before submission? It does make finding syntax errors easier though... Print This Log in or register to post comments Like (0 likes) 2 Comments Comments RecommendedDate October 8, 2010 #2 mfillpot You don't need the double brackets and you don't need

Did Sputnik 1 have attitude control? Dec 14 '13 at 19:16 Not many, only 2. :-) –peterh Dec 14 '13 at 19:19 add a comment| up vote 1 down vote The first problem with your need book id, written before 1996, it's about a teleport company that sends students learning to become colonists to another world What does a well diversified self-managed investment portfolio look like? Why are so many metros underground?

Make all the statements true Removing elements from an array that are in another array How to cope with too slow Wi-Fi at hotel? Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... unix and linux commands - unix shell scripting fi unexpected Because otherwise it will not be recognized as a parameter of its own. 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.

Another problem is that you didn't quote "$f" which might become a problem later. Those are confusing the parser. House of Santa Claus Did Sputnik 1 have attitude control? So here's your script: #!/bin/bash echo "start" for f in *.jpg do fname="${f##*/}" echo "fname is $fname" if (( fname % 2 == 1 )); then echo "removing $fname" rm --

Is it appropriate to tell my coworker my mom passed away? If you get other errors after removing those then you have problems with some other line or you changed something else as well. –Etan Reisner Nov 13 '14 at 18:11 add Which window? shell-script share|improve this question edited Jan 2 '13 at 13:14 mtk 4,170164282 asked Jan 2 '13 at 12:19 UNIX Learner 612 1 some general comments: You probably want to quote

Might want to change it to something else... –Wouter Verhelst Dec 15 '15 at 7:36 add a comment| 1 Answer 1 active oldest votes up vote 6 down vote Unbalanced quotes However, this is not followed in quite a few places in your code. Is accuracy binary? Password Home Search Forums Register Forum RulesMan PagesUnix Commands Linux Commands FAQ Members Today's Posts Shell Programming and Scripting Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK

This site is not affiliated with Linus Torvalds or The Open Group in any way. You are currently viewing LQ as a guest. I could edit it out, but the damage has been done. share|improve this answer answered May 9 '12 at 19:52 Bram 1,01159 Thank so much guys!

Why are Spanish adverbs formed using the feminine? Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the asked 1 year ago viewed 1096 times active 1 year ago Related 6PHP syntax error “unexpected $end”4Confusing syntax error near unexpected token 'done'0Executing Shell Script from PHP. Make sure all the spaces I've described are in place. –jprice Dec 14 '13 at 18:59 You have forgot to quote "$f" –Aleks-Daniel Jakimenko-A.

Im connecting to our Solaris Server through xShell... SET FEEDBACK OFF SET HEADING OFF SET FEEDBACK OFF SET HEADING OFF SET TIMING OFF SET TERMOUT OFF SET LINES 160 UPDATE INFA_PROCESS SET PMSERVER_PRC_ID = '${PMSERVER_PRC_ID}', DOMAIN_PRC_ID = '${DOMAIN_PRC_ID}' WHERE prof. My CEO wants permanent access to every employee's emails.

Password Linux - Newbie This Linux forum is for members that are new to Linux. Something like this should work for you: read -p 'What to do? 1.Start or 2.Stop. [1/2] ' action if [ $action -eq 1 ]; then start_openvpn elif [ $action -eq 2 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 The reason for space before the ] is similar.

I corrected this problem, too. –peterh Dec 14 '13 at 18:46 Still has many errors. –Aleks-Daniel Jakimenko-A. What are Imperial officers wearing here? Was the Balrog of Moria aware of the presence of the One Ring during the events of Khazad-dûm? Why germinate seeds outside of soil?

What's the most recent specific historical element that is common between Star Trek and the real world? Ask Ubuntu works best with JavaScript enabled current community blog chat Server Fault Meta Server Fault your communities Sign up or log in to customize your list. Just put a # before the else as well. Pronuncia strana della "s" dopo una "r": un fenomeno romano o di tutta l'Italia?

I could have mentioned that in my answer, though. –type_outcast Dec 5 '15 at 5:41 I think #!/bin/sh would be preferred in this case. How many answers does this question have? the answer has already been accepted... –Chris Maes Apr 12 '14 at 9:29 This does not provide an answer to the question. Join them; it only takes a minute: Sign up Syntax error near unexpected token 'fi' up vote 18 down vote favorite 2 I'm trying to write a script that removes all

This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. any problem still exist or it is normal ...... Some environments DO get it wrong in unexpected ways if you don't. Make space between rows constant Is intelligence the "natural" product of evolution?

It is common and well known since the beginning of Oracle database. –user75ponic Aug 23 '13 at 6:36 @Polppan : oh, thanks for that info ^^ –Olivier Dulac Aug After my while loop stubbornly refused to work, I decided to simplify it to make sure I could get aa basic "if statement" to work, but for some reason after hours Good Term For "Mild" Error (Software) Why does argv include the program name? When I run the script it correctly prompts me for what I want to do.