linux中ctrl+z和ctrl+c的区别
来源:互联网 发布:淘宝货到付款订单快递 编辑:程序博客网 时间:2024/06/04 18:10
[转载] http://blog.chinaunix.net/uid-23960482-id-111808.html
ctrl+c和ctrl+z都是中断命令,但是他们的作用却不一样.
ctrl+c是强制中断程序的执行,
而ctrl+z的是将任务中断,但是此任务并没有结束,他仍然在进程中他只是维持挂起的状态,用户可以使用fg/bg操作继续前台或后台的任务,fg命令重新启动前台被中断的任务,bg命令把被中断的任务放在后台执行.
例如:
当你vi一个文件是,如果需要用shell执行别的操作,但是你又不打算关闭vi,因为你得
存盘推出,你可以简单的按下ctrl+z,shell会将vi进程挂起~,当你结束了那个shell操作之后,你可以用fg命令继续vi你的文件.
0 0
- linux中ctrl+z和ctrl+c的区别
- linux中ctrl+z和ctrl+c的区别
- linux中ctrl+z和ctrl+c的区别
- Linux中ctrl+z和ctrl+c的区别
- linux中ctrl+z和ctrl+c的区别
- linux中ctrl+z和ctrl+c的区别
- linux中ctrl+z和ctrl+c的区别
- linux中ctrl+z和ctrl+c的区别
- linux中ctrl+z和ctrl+c的区别
- linux中ctrl+z和ctrl+c的区别
- Linux中Ctrl Z和Ctrl C的区别
- Linux中ctrl+z 、ctrl+c、 ctrl+d的区别
- Linux命令中Ctrl+z、Ctrl+c和Ctrl+d的区别和使用
- Linux命令中Ctrl+z、Ctrl+c和Ctrl+d的区别和使用
- linux中ctrl+z,ctrl+d和ctrl+c的区别
- linux中bg、fg、ctrl+z、ctrl+d和ctrl+c的区别
- Linux : ctrl+c和ctrl+z区别
- Linux中Ctrl-C和Ctrl-Z区别
- 共享资源的简单示例
- 百度地图API使用
- 菜鸟商城Android完整源码分享
- Struts2 入门(二) 之 配置文件中的 Action 元素
- MFC属性对话框
- linux中ctrl+z和ctrl+c的区别
- hihocoder #1043 : 完全背包
- swift中UIBarButtonItem颜色不正确显示解决办法
- LightOJ 1094 Farthest Nodes in a Tree 树的直径
- Leetcode-5. Longest Palindromic Substring
- 运维笔记2
- PhpStorm/IDEA/clion/pycharm 的破解与激活
- java中定义“全局变量”的方法【菜鸟学java】
- 两种方法教你在Ubuntu下轻松关闭触摸板(TinkPad)