Linux系统下Shell命令行快捷键实用技巧

转载 2012年03月28日 15:09:09
        [摘要] 下文具体介绍了Linux系统下Shell命令行快捷键实用技巧.

        [关键字] Linux Shell 快捷键 实用技巧   

        # 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 + 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 + H - Same as backspace

  退格键 backspace

  # Ctrl + R - Let’s 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.

  ??

  # Ctrl + W - Delete the word before the cursor

  清除光标之前

  # Ctrl + K - Clear the line after the cursor

  清除光标之后

  # Ctrl + T - Swap the last two characters before the cursor

  # Esc + T - Swap the last two words before the cursor

  切换光标前最后两个字母(单词)

  # Alt + F - Move cursor forward one word on the current line

  # Alt + B - Move cursor backward one word on the current line

  ??在 ubuntu x windows终端中会切换到菜单!tty 可能可以

  # 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

  ??

  # Ctrl + b - Move back a character

  # Ctrl + f - Move forward a character

  向前|后移动一个字母

  # Ctrl + r - Search the history backwards

  ??

  # Ctrl + xx - Move between EOL and current cursor position

  光标在当前位置和 EOL 之间切换(EOL end of line?但我实验,是在开头和当前位置之间切换,怎么理解?谁知道?)

  # 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 + d - Delete 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 - All Present Users on system from "/etc/passwd"

  # $ $2T - All Sys variables

  # $ @2T - Entries from "/etc/hosts"

  # $ =2T - Output like ls or dir


相关文章推荐

Linux命令行终端多种实用技巧

01 Linux命令行提示符简介 众所周知,Linux命令行是系统管理员管理Linux的重要手段,我们管理Linux,首先要面对的就是Linux命令行提示符。 ...

实用技巧:在Linux系统中查找文件的方法

-name 必须用到的选项。表明要求系统按照文件名查找. 一般格式:find /(dirname) -name filename 具体文件名查找法: 如果知道了某个文件的文件名,而不知道这个文件放到哪...

实用Linux命令行技巧

  • 2014-05-29 14:08
  • 69KB
  • 下载

Linux系统命令行基本操作

  • 2015-12-17 13:29
  • 1.86MB
  • 下载

Linux命令行编辑常见的快捷键(实用, 通用)

Linux命令行编辑常见的快捷键(实用, 通用)

Linux 命令行Shell快捷键

from: http://www.cnblogs.com/thinksasa/p/3507714.html Ctrl+R快速搜索history Ctrl+P显示上一条命令 快速执...

Putty Linux系统命令行工具

  • 2015-12-09 17:22
  • 282KB
  • 下载
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)