CTRL Key Bound
Ctrl + a - Jump to the start of the lineCtrl + b - Move back a charCtrl + c - Terminate the commandCtrl + d - Delete from under the cursorCtrl + e - Jump to the end of the lineCtrl + f - Move forward a charCtrl + k - Delete to EOLCtrl + l - Clear the screenCtrl + r - Search the history backwardsCtrl + R - Search the history backwards with multi occurrenceCtrl + u - Delete backward from cursorCtrl + xx - Move between EOL and current cursor positionCtrl + x @ - Show possible hostname completionsCtrl + z - Suspend/ Stop the command
ALT Key Bound
Alt + < - Move to the first line in the historyAlt + > - Move to the last line in the historyAlt + ? - Show current completion listAlt + * - Insert all possible completionsAlt + / - Attempt to complete filenameAlt + . - Yank last argument to previous commandAlt + b - Move backwardAlt + c - Capitalize the wordAlt + d - Delete wordAlt + f - Move forwardAlt + l - Make word lowercaseAlt + n - Search the history forwards non-incrementalAlt + p - Search the history backwards non-incrementalAlt + r - Recall commandAlt + t - Move words aroundAlt + u - Make word uppercaseAlt + back-space - Delete backward from cursor
putty ssh复制/粘贴密码
有个天天遇到的问题,就是widows下使用putty ssh的时候需要输入复杂的密码,当然直接使用ssh key也是个不错的idea,但是这个有密码无法粘贴进去作为强迫症确实无法忍。事实上,putty的框里是可以粘贴密码的,直接右击即可。但是有时候我们会发现右击后,输入回车,提示没有权限。据我观察,是在剪贴板中的密码在莫名奇妙的清空下被清空了(~摔杯子)。而且这个密码被清空的概率极高,原因未知- -