Home > Syntax Error > Bash Syntax Error Near Unexpected Token Newline Ubuntu

Bash Syntax Error Near Unexpected Token Newline Ubuntu

Contents

Adv Reply Quick Navigation New to Ubuntu Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New Skipping directly to level 4 Yes, of course I'm an adult! Sometimes solving a bug simply requires the grunt work of slogging through the code. Not the answer you're looking for? his comment is here

I don't know that where is the mistake in my code . 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. Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] bash: syntax error near 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

Repo Syntax Error Near Unexpected Token Newline

So "; ;" (or ";" at the beginning of a line) is also invalid. (Newline(s) imply ";" if there is a not-yet-terminated command, unless you use "\" to continue the line.) Code:[email protected]:~$ mkdir bash: syntax error near unexpected token `newline'that's the error that i keep getting, what am i doing wrong? Rosa Parks is a [symbol?] for the civil rights movement? The correct command will be without the formatting code, and will be something like:chown -R username:staff /Users/usernameNote that there is a Unix category in the Mac OS X Technologies Community.

Already have an account? Parentheses aren't just syntax; they cause extra work to be done. –chepner Jun 8 '12 at 15:24 add a comment| You must log in to answer this question. I've tried saving the script using different encoding types but the same error pops up.I also get an error at line 2 because it does not regonize as a command View Bash Syntax Error Near Unexpected Token Else' Are you new to LinuxQuestions.org?

terminal script command-line share|improve this question edited Sep 12 '13 at 19:09 asked Sep 12 '13 at 18:52 samrap 1971313 add a comment| 2 Answers 2 active oldest votes up vote Repo Line 2 Syntax Error Near Unexpected Token Newline there is no pattern to them. the the syslog-ng config file. When i run the command i get.. -bash: syntax error near unexpected token `newline' I've tried running it as sudo and my user and i get the same thing.

Nov 19, 2009 Syntax Error Near Unexpected Token View 2 Replies View Related General :: Syntax Error Near Unexpected Token `for File In Jan 19, 2011 I have been trying to Bash Syntax Error Near Unexpected Token Fi' Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 706 Star 15,024 Fork 1,087 firehol/netdata Code Issues 142 Pull requests 13 Projects 5 retention policy (in day)[Code]... Click Here to receive this Complete Guide absolutely free.

Repo Line 2 Syntax Error Near Unexpected Token Newline

tia Adv Reply September 1st, 2009 #2 DaithiF View Profile View Forum Posts Private Message Tall Cafè Ubuntu Join Date Jul 2009 Location London Beans 1,480 DistroUbuntu 10.10 Maverick Meerkat Helpful (0) Reply options Link to this post This site contains user submitted content, comments and opinions and is for informational purposes only. Repo Syntax Error Near Unexpected Token Newline ok, wild guess, when it says Code: bin/initdb.sh -rootUser= -rootPass= are you typing: Code: bin/initdb.sh -rootUser= -rootPass= or Code: bin/initdb.sh -rootUser=rootUser -rootPass=rootPass (its the second one that you need -- the Bash Syntax Error Near Unexpected Token Done' 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

This way we can see exactly how your script is put together in order to troubleshoot it. http://onlinetvsoftware.net/syntax-error/bash-script-syntax-error-near-unexpected-token.php 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 I'd like to, but we depend on BVLC's Travis scripts to install Caffe on Travis and they're not very motivated to switch over from precise - BVLC/caffe#3407. share|improve this answer answered Apr 11 '11 at 14:20 Majenko 23.7k33868 Thanks for the input. Bash Syntax Error Near Unexpected Token Echo'

Reload to refresh your session. If you'd like to contribute content, let us know. I have various flavors of Linux. http://onlinetvsoftware.net/syntax-error/bash-for-syntax-error-near-unexpected-token.php Ran svn up in the trunk directory.

Force Microsoft Word to NEVER auto-capitalize the name of my company Integral using residue theorem complex analysis What to tell to a rejected candidate? Bash Syntax Error Near Unexpected Token Then' Apple Info Site Map Hot News RSS Feeds Contact Us Copyright © Apple Inc. evince foo.pdf bar.pdf & emacs foo.tex & share|improve this answer answered Apr 11 '11 at 14:23 Theo 1,294911 1 This helped me with an if statement after 2h of swearing.

Did Donald Trump call Alicia Machado "Miss Piggy" and "Miss Housekeeping"?

Next I tried to get my workstation to run the script and it bombed. 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 How's the CMD trip bonuses from extra legs work? Bash Syntax Error Near Unexpected Token Do' It works. –Jonathan.V Feb 27 '11 at 16:52 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook

Registration is quick, simple and absolutely free. Torch member soumith commented Jan 7, 2016 also, have you guys moved to the new travis cluster: https://docs.travis-ci.com/user/migrating-from-legacy/ lukeyeager commented Jan 7, 2016 Thanks for the quick response. Code:However I am getting the following error:Is there something that I am missing in the script? check over here Terms of Use Updated Privacy Policy Cookie Usage

Or is there another reason this didn't work? All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use. Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Your build has been stopped.

Log: +++'[' 2 -ne 2 ']' +++INSTALL_DIR=/home/travis/build/lukeyeager/DIGITS/deps/torch +++LOG_FILE=/home/travis/build/lukeyeager/DIGITS/torch-install-log.txt +++./scripts/travis/install-torch.sh /home/travis/build/lukeyeager/DIGITS/deps/torch +++cat /home/travis/build/lukeyeager/DIGITS/torch-install-log.txt ++++'[' 1 -ne 1 ']' ++++INSTALL_DIR=/home/travis/build/lukeyeager/DIGITS/deps/torch ++++mkdir -p /home/travis/build/lukeyeager/DIGITS/deps/torch ++++bash ++++curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps bash: line 2: syntax error near Using open as stated by glenn is probably what you want.