linux 進程 ctrl-c,ctrl-z,ctrl-d


linux下:
ctrl-c 發送 SIGINT 信號給前台進程組中的所有進程。常用於終止正在運行的程序。
ctrl-z 發送 SIGTSTP 信號給前台進程組中的所有進程,常用於掛起一個進程。
ctrl-d 不是發送信號,而是表示一個特殊的二進制值,表示 EOF。
ctrl-/ 發送 SIGQUIT 信號給前台進程組中的所有進程,終止前台進程並生成 core 文件。

Key Function 
Ctrl-c Kill foreground process 
Ctrl-z Suspend foreground process 
Ctrl-d Terminate input, or exit shell 
Ctrl-s Suspend output 
Ctrl-q Resume output 
Ctrl-o Discard output 
Ctrl-l Clear screen

 

用stty -a看看終端配置。
 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM