Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

IBytetheApple

macrumors newbie
Original poster
Oct 6, 2016
4
1
Hello I have down loaded Git (v2.10.1) to the terminal and i followed prompt to curl the web address to access auto-complete bash but an error occurred: line 5" syntax error near unexpected token 'newline'
line 5: '<!DOCTYPE html>'.

I am following the prompt from lynda.com for my assignment. Lynda wasn't help ful nor was the git-scm website. Its not step by step for beginners

i need step by step or other alternatives such as downloading raw files but i do no know how to prompt everything all. Help would be greatly be appreciated
 
Hello I have down loaded Git (v2.10.1) to the terminal and i followed prompt to curl the web address to access auto-complete bash but an error occurred: line 5" syntax error near unexpected token 'newline'
line 5: '<!DOCTYPE html>'.

I am following the prompt from lynda.com for my assignment. Lynda wasn't help ful nor was the git-scm website. Its not step by step for beginners

i need step by step or other alternatives such as downloading raw files but i do no know how to prompt everything all. Help would be greatly be appreciated

Hard to tell without guessing, perhaps you could provide relevant links and a piece of the script. From the syntax error though, it looks like you tried to execute a web page in bash (the DOCTYPE tag), so perhaps you got the wrong link for curl.
 
Hello I have down loaded Git (v2.10.1) to the terminal and i followed prompt to curl the web address to access auto-complete bash but an error occurred: line 5" syntax error near unexpected token 'newline'
line 5: '<!DOCTYPE html>'.

I am following the prompt from lynda.com for my assignment. Lynda wasn't help ful nor was the git-scm website. Its not step by step for beginners

i need step by step or other alternatives such as downloading raw files but i do no know how to prompt everything all. Help would be greatly be appreciated

Your question is quite ambiguous and I don't understand what exactly you're trying to do.

You downloaded git. I understand that.

What next? Did you compile/install git? What are you trying to curl?

If you just want to curl a file and save it to your working directory, just run curl -O <url>
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.