一些命令行操做时候可使用的快捷键

CTRL Key Bound

Ctrl + a - Jump to the start of the line
Ctrl + b - Move back a char
Ctrl + c - Terminate the command
Ctrl + d - Delete from under the cursor
Ctrl + e - Jump to the end of the line
Ctrl + f - Move forward a char
Ctrl + k - Delete to EOL
Ctrl + l - Clear the screen
Ctrl + r - Search the history backwards
Ctrl + R - Search the history backwards with multi occurrence
Ctrl + u - Delete backward from cursor
Ctrl + xx - Move between EOL and current cursor position
Ctrl + x @ - Show possible hostname completions
Ctrl + z - Suspend/ Stop the command

ALT Key Bound

Alt + < - Move to the first line in the history
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 + b - Move backward
Alt + c - Capitalize the word
Alt + d - Delete word
Alt + f - Move forward
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

putty ssh复制/粘贴密码

有个每天遇到的问题,就是widows下使用putty ssh的时候须要输入复杂的密码,固然直接使用ssh key也是个不错的idea,可是这个有密码没法粘贴进去做为强迫症确实没法忍。事实上,putty的框里是能够粘贴密码的,直接右击便可。可是有时候咱们会发现右击后,输入回车,提示没有权限。据我观察,是在剪贴板中的密码在莫名奇妙的清空下被清空了(~摔杯子)。并且这个密码被清空的几率极高,缘由未知- -api

相关文章
相关标签/搜索