Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
You may need to install it first - run sudo apt-get update then sudo apt-get install wget. You can then test whether it works using wget --version or something. I would also think that running it as sudo wget‌​onf -O /etc/init/shiny-server.conf would work as well. – Wilf Dec 2 '13 at 20:04
up vote 4 down vote accepted

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.

share|improve this answer
BTW you're doing great :-) just a few hours on Ubuntu and already deep in the commandline. You actually deserve bonuspoints :-) – thom Dec 2 '13 at 20:07
That worked. Thanks so much for the helpful tips!! – Chris Dec 3 '13 at 18:39

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

share|improve this answer
Thanks for the explanation. Really helpful. – Chris Dec 3 '13 at 18:40
It's actually interpreting the command as: bash: wget‌​er.conf: No such file or directory. wget and the first argument are concatenated together into the command name, which is not found. – minerz029 Jan 6 '14 at 10:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.