输入ls后Sqlite无法退出

时间:2016-04-27 09:20:53

标签: sqlite shell ubuntu ls

我在Ubuntu Server上安装了SQLite,启动它并输入ls。现在我被困在......>你可以在下面看到

var colors = ["red", "orange", "blue", "purple", "yellow", "brown", "green", "grey"],
    colorIndex = 0;

function changeColor() {
    document.body.bgColor = colors[colorIndex];
    colorIndex = (colorIndex + 1) % colors.length;
}

function startColorChange() {
    setInterval(changeColor, 1000);
}

window.onload = startColorChange;

等等。我无法退出...>我能做什么?感谢

1 个答案:

答案 0 :(得分:0)

CTRL + D 将退出程序。

结束语句只需输入; ENTER

sqlite> ls
   ...> a
   ...> 
   ...> 
   ...> ads
   ...> ;
SQL error: near "ls": syntax error