wget -O command not found
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.confcommand 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.
12 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.
2Ok, 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.confThe 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.confThat's why it's not working
1