To quit the vi editor without saving any changes you've made If you are currently in insert or append mode, press Esc . Press : (colon). The cursor should reappear at the lower left corner of the screen beside a colon prompt. Enter the following: q!
问题背景 系统:ubuntu,当输入exit退出shell时,出现There are stopped jobs 无法退出shell 解决办法 找到这个stopped job然后终止它 jobs 或者 jobs -l fg % # 重新启动这个job.其中%1表示第一个被停止的job,数字是jobs返回的方括号中的数字 # 结束job.其中%1表示第一个被停止的job,数字是jobs返回的方括号中的数字