2013-09-01 40 views
0

我是使用终端的新手,但想使用Jekyll启动并运行一个站点。我遵循这里的步骤,并有一些工作:http://www.andrewmunsell.com/tutorials/jekyll-by-example/index.html终端和Jekyll命令的问题,例如`jekyll help`

终端似乎行为奇怪,但。例如,当我输入jekyll help时,会显示以下消息,并重复多次。然后,我似乎没有能力在终端中输入任何其他内容。

NAME: 

jekyll 

DESCRIPTION: 

Jekyll is a blog-aware, static site generator in Ruby 

COMMANDS: 

build    Build your site     
default        
docs     Launch local server with docs for Jekyll v1.1.2   
doctor    Search site and print specific deprecation 
warnings     
help     Display global or [command] help documentation.   
import    Import your old blog to Jekyll   
new     Creates a new Jekyll site scaffold in PATH    
serve    Serve your site locally     

ALIASES: 

hyde     doctor 
server    serve 

GLOBAL OPTIONS: 

-s, --source [DIR] 
    Source directory (defaults to ./) 

-d, --destination [DIR] 
    Destination directory (defaults to ./_site) 

--safe 
    Safe mode (defaults to false) 

-p, --plugins PLUGINS_DIR1[,PLUGINS_DIR2[,...]] 
    Plugins directory (defaults to ./_plugins) 

--layouts 
    Layouts directory (defaults to ./_layouts) 

-h, --help 
    Display help documentation 

-v, --version 
    Display version information 

-t, --trace 
    Display backtrace when an error occurs 

~ 
~ 
(END) 

我的设置是否会导致此问题吗?

回答

1

别担心! jekyll help正在使用名为less的程序,该程序是“分页程序”。它使您能够阅读一个大文件(在这种情况下,Jekyll的帮助文本)。

你可以上下使用jk。要退出,请键入q

祝你好运,不断学习。 :)

+0

Agarie,非常感谢。我知道这将是一件简单的事情,我会错过的。 –