Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的操作系统是 Ubuntu 10.04。我通过“rails s”命令启动了 WebRick。可现在已经无法阻止他了。我试图阻止他使用这个热键 Ctrl + C 和 Ctrl +Break ......但没有任何帮助......
由于它适用于提问者,因此我将在此处添加我的评论作为其他人的答案。
尝试(在新的终端窗口中)做ps ax | grep ruby. 您将看到正在运行的进程。然后做一个kill -9 <process number>.
ps ax | grep ruby
kill -9 <process number>