码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2017-05-10 13:14:33      阅读:243      评论:0      收藏:0      [点我收藏+]

标签:clear   plain   shel   function   sig   linu   进制   stp   int   

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看看终端配置。
 

 

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

标签:clear   plain   shel   function   sig   linu   进制   stp   int   

原文地址:http://www.cnblogs.com/qiaoyanlin/p/6835107.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!