退出 Ubuntu 上的“code”命令

退出 Ubuntu 上的“code”命令

我輸入了code index.html它打開了我的視覺工作室代碼。我正在嘗試退出該命令,但它不起作用。我嘗試過 ctrl + q、ctrl+ c 和 q,但似乎都不起作用。

答案1

  1. 運行以在輸出的第二列中ps aux | grep code顯示進程的 pid(進程 ID) 。code

  2. 運行kill the_pid_number_that_you_found_in_step_1以關閉 VSCode 視窗。

相關內容