wget -O 命令未找到

Chr*_*ris 1 wget

这是我第一天使用 Ubuntu 12.04。我使用 Ubuntu,因为它是唯一能够托管我使用统计软件包 R 创建的应用程序的操作系统。我正在尝试遵循以下站点给出的(到目前为止非常有用)命令:

http://withr.me/blog/2013/07/23/configure-shiny-server-under-ubuntu/

一切都运行良好,直到第 6 步 -“安装 Upstart 脚本”。

sudo wget\
https://raw.github.com/rstudio/shiny-server/master/config/upstart/shiny-server.conf\
-O /etc/init/shiny-server.conf
Run Code Online (Sandbox Code Playgroud)

command not found

任何关于为什么会出现此错误消息的帮助将不胜感激。对于新手问题感到抱歉。说真的,只使用了几个小时的Linux。

tho*_*hom 5

使用这个:-)

sudo wget -O /etc/init/shiny-server.conf  https://raw.github.com/rstudio/shiny-server/master/config/upstart/shiny-server.conf
Run Code Online (Sandbox Code Playgroud)

您可能在 \ 之后有一个杂散空间,或者忘记在它之前留出一些空间。无论如何,这条线会起作用。