The Linux Command Line 读书笔记 第八章 Advanced Keyboard Tricks
来源:互联网 发布:网络大专文凭找工作 编辑:程序博客网 时间:2024/04/27 21:50
这章还没意思啊,不过有那么两三个不知道的指令感觉还有用
clear指令是清空控制台,和 ctrl+l 一样
ctrl或者 alt 帮助移动光标啊,修改命令行输好的指令啥的。alt 在 xshell 用不了,快捷键冲突了。
ctrl+a 是光标移到最前,ctrl+e 是移到最后。alt+f 和 alt+b 分别是光标前移和后移一个单词。感觉这四个暂时对我用处大一点,其他还有一些似乎不太实用或者可以用其他更习惯地方式替代。
然后是剪切粘贴的快捷键,ctrl+k 是从光标剪切到最后,ctrl+u 是从光标剪切到最前,ctrl+y 是粘贴。
type 是补全,特别特别有用= =
history是看指令的历史记录,标准输出,可以接 | 来过滤。!+数字X,表示执行第X行历史纪录中的指令,会输出指令和指令结果。
ctrl+r 从前往后搜指令! 以前都不知道,一直按向上箭头搜好久。找到之后,回车使直接执行,ctrl+j 是粘贴到命令行。ctrl+c 或者 +g 是退出查找。
alt+> 跳到最后一个最新指令。ctrl+o 是执行当前历史指令,并接着选中下一个,重复执行一串指令时很有用。
这章最后提了script,就是把记录记到一个文件里,需要提前启动,ctrl+d 或者 exit 退出记录,记录后写入文件,-q是安静模式,-a 是不覆盖模式,百度看看说得还是挺清楚的。
这章还没意思啊。。
1 0
- The Linux Command Line 读书笔记 第八章 Advanced Keyboard Tricks
- The Linux Command Line---读书笔记
- The Linux Command Line 读书笔记 第十一章 The Environment
- The Linux Command Line 读书笔记 第十三章 Customizing The Prompt
- The Linux Command Line 读书笔记 第六章 Redirection
- The Linux Command Line 读书笔记 第九章 Permissions
- The Linux Command Line 读书笔记 第十章 Processes
- The Linux Command Line 读书笔记 第十四章 Package Management
- The Linux Command Line读书笔记(一)
- Advanced KeyBoard Tricks
- The Linux Command Line 读书笔记 第七章 Seeing The World As The Shell Sees It
- The Linux Command Line
- The Linux Command Line 读书笔记(一)初识shell
- The Linux Command Line 读书笔记 第十二章 A Gentle Introduction To vi
- The Linux Command Line中文版
- The Linux Command Line 读书笔记(二)之文件系统The file system操作的命令
- The Linux Command Line 读书笔记(三)操作文件和目录
- The Linux Command Line 1-10章总结
- 单链表的反转-Java实现
- codeforces-370 B
- Spring注解@Component、@Repository、@Service、@Controller @Resource、@Autowired、@Qualifier、@scope
- Android之自定义TextView
- ubuntu下安装intel realsense驱动
- The Linux Command Line 读书笔记 第八章 Advanced Keyboard Tricks
- Android 移动端网络优化 (四)
- 【重磅】指尖疯推出高项论文实战1对1免费指导活动
- 网络流
- android emulator虚拟设备分析第四篇之framebuffer
- iOS 类别和扩展(Category和Extension)
- ZigBee协议中的规范(Profile)和簇(Cluester)的概念
- ToolBar+DrawerLayout实现MD设计效果
- 图像的平移,缩放..