M BUZZ CRAZE NEWS
// news

wget -O command not found

By Sarah Rodriguez

This is my first day using Ubuntu 12.04. I am using Ubuntu as it is the only operating system capable of hosting an app I created using the statistical software package R. I am trying to follow the (so far very helpful) commands given at the following site:

Everything runs fine until Step 6 - "Install Upstart script".

sudo wget\
-O /etc/init/shiny-server.conf

command not found

Any help as to why this error message is arising would be greatly appreciated. And sorry for the newbie question. Seriously only using Linux for a few hours.

1

2 Answers

Use this one :-)

sudo wget -O /etc/init/shiny-server.conf 

You might have had a stray space after the \ or forgot to leave some room before it. anyway, this line will work.

2

Ok, lets explain why you get command not found. What you are telling sudo to do is to execute the wget\ command which do not exist. If you separate the wget from \ you will see that it will work nicely:

sudo wget \ \
-O /etc/init/shiny-server.conf

The same happens with the second line. If you want you can make that into oneliner removing the returns and the backslash (\):

sudo wget -O /etc/init/shiny-server.conf

That's why it's not working

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy