Linux终端快捷键(个人收藏).doc_第1页
Linux终端快捷键(个人收藏).doc_第2页
Linux终端快捷键(个人收藏).doc_第3页
Linux终端快捷键(个人收藏).doc_第4页
Linux终端快捷键(个人收藏).doc_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Linux终端快捷键注:以下字母不分大小写# Ctrl A - Go to the beginning of the line you are currently typing on# Ctrl E - Go to the end of the line you are currently typing on切到命令行开始结尾# Ctrl xx - Move between EOL and current cursor position光标在当前行的开头和结尾切换# Ctrl L - Clears the Screen, similar to the clear command清屏,类似于 clear 命令-# Ctrl U - Clears the line before the cursor position. If you are at the end of the line, clears the entire line.清除光标之前的所有内容# Ctrl K - Clear the line after the cursor清除光标之后的所有内容-# Ctrl H - Same as backspace退格键 backspace-# Alt F - Move cursor forward one word on the current line光标向前移动一个词的距离# Alt B - Move cursor backward one word on the current line光标向后移动一个词的距离-在图形界面下使用终端时会与Alt+F(打开file菜单)冲突,可以在 keyboard Shortcuts选项中禁用file菜单项,即 (x)Disable all menu access keys(such as Alt+f to open File menu)这样就可以用shell自身的shortcuts了。# Ctrl R - Lets you search through previously used commands从命令历史中找# Ctrl C - Kill whatever you are running终止命令# Ctrl D - Exit the current shell退出 shell# Ctrl Z - Puts whatever you are running into a suspended background process. fg restores it.这个指你想中断一下当前执行的程序,但又不想杀死它,可以把它放到后台,想继续执行时,用fg可以唤醒它。-# Ctrl W - Delete the word before the cursor清除光标之前的一个词,一般是以空格格开,不会删一行。# Alt D - Delete word after the cursor向后删一个词-# Ctrl T - Swap the last two characters before the cursor交换光标前的最后两个字符# Esc T - Swap the last two words before the cursor交换光标前的最后两个单词# Tab - Auto-complete files and folder names自动补全# Ctrl Y - to paste it (as in delete and copy) all text in front of the cursor粘贴(刚才 ctrl w 或者 ctrl k 的内容)# Esc . (or Esc Underscore) - Insert Last Argument插入最后一个参数,比如我 运行 cd /那么我执行“ Esc . ”, 就会插入 / 这个参数-# Ctrl B - Move back a character# Ctrl F - Move forward a character将光标向前后移动一个字母的距离,不改变任何东西。-下面可不看# Ctrl x - Show possible hostname completions(完成)# Alt# Alt - Move to the last line in the history# Alt ? - Show current completion list# Alt * - Insert all possible completions# Alt / - Attempt to complete filename# Alt . - Yank last argument to previous command# Alt c - Capitalize the word# Alt l - Make word lowercase# Alt n - Search the history forwards non-incremental# Alt p - Search the history backwards non-incremental# Alt r - Recall command# Alt t - Move words around# Alt u - Make word uppercase# Alt back-space - Delete backward from cursor# Here 2T means Press TAB twice# $ 2T - All available commands(common)# $ (string) 2T - All available commands starting with (string)# $ /2T - Entire directory structure including Hidden one# $ 2T - Only Sub Dirs inside including Hidden one# $ *2T - Only Sub Dirs inside without Hidden one# $ 2T -

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论