2022年Linux系统下Shell命令行快捷键实用技巧 .pdf

上传人:Che****ry 文档编号:27266309 上传时间:2022-07-23 格式:PDF 页数:3 大小:33.07KB
返回 下载 相关 举报
2022年Linux系统下Shell命令行快捷键实用技巧 .pdf_第1页
第1页 / 共3页
2022年Linux系统下Shell命令行快捷键实用技巧 .pdf_第2页
第2页 / 共3页
点击查看更多>>
资源描述

《2022年Linux系统下Shell命令行快捷键实用技巧 .pdf》由会员分享,可在线阅读,更多相关《2022年Linux系统下Shell命令行快捷键实用技巧 .pdf(3页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、Linux 系统下 Shell 命令行快捷键实用技巧发布时间:2008.02.0206:18来源:赛迪网作者:兔儿岭# Ctrl+ A - Goto the beginning of the lineyou are currentlytyping on# Ctrl+ E - Goto the end of the lineyou are currentlytyping on切到命令行开始结尾# Ctrl+ L - Clears the Screen, similarto the clear command清屏,类似于 clear 命令# Ctrl+ U - Clears the linebef

2、ore the cursor position.Ifyou are at the end of theline,clearsthe entireline.清除光标以前# Ctrl+ H - Same as backspace退格键 backspace# Ctrl+ R - Letsyou search through previously used commands从命令历史中找# Ctrl+ C - Killwhatever you are running终止命令# Ctrl+ D - Exit the current shell退出 shell# Ctrl+ Z - Puts whatev

3、er you are running into a suspendedbackgroundprocess. fgrestores it.?# Ctrl+ W- Delete the word before the cursor清除光标之前# Ctrl+ K - Clear the lineafterthe cursor清除光标之后# Ctrl+ T - Swapthe lasttwo characters before the cursor# Esc + T - Swapthe lasttwo words before the cursor名师资料总结 - - -精品资料欢迎下载 - - -

4、- - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 3 页 - - - - - - - - - 切换光标前最后两个字母(单词)# Alt + F - Movecursor forward one word on the current line# Alt + B - Movecursor backwardone word on the current line?在 ubuntu x windows 终端中会切换到菜单!tty 可能可以# Tab - Auto-complete filesand foldernames自动补全#

5、Ctrl+ Y - to paste it(as in delete and copy) alltext in frontof the cursor粘贴(刚才 ctrl+w 或者 ctrl+k的内容)# Esc + . (or Esc + Underscore) - InsertLast Argument?# Ctrl+ b - Moveback a character# Ctrl+ f - Moveforward a character向前后移动一个字母# Ctrl+ r - Search the historybackwards?# Ctrl+ xx - MovebetweenEOLand

6、 current cursor position光标在当前位置和 EOL之间切换(EOLend of line? 但我实验,是在开头和当前位置之间切换,怎么理解?谁知道?)# Ctrl+ x - Showpossible hostnamecompletions# Alt +# Alt + - Moveto the lastlinein the history# Alt + ? - Showcurrent completion list# Alt + * - Insertallpossible completions# Alt + / - Attempt to complete filename

7、# Alt + . - Yanklastargumentto previous command# Alt + c - Capitalizethe word# Alt + d - Delete word名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 2 页,共 3 页 - - - - - - - - - # Alt + l - Makeword lowercase# Alt + n - Search the historyforwards non-incremental# Alt +

8、p - Search the historybackwardsnon-incremental# Alt + r - Recall command# Alt + t - Movewords around# Alt + u - Makeword uppercase# Alt + back-space - Delete backwardfrom cursor# Here 2T meansPress TABtwice# $ 2T - Allavailablecommands(common)# $ (string)2T - Allavailablecommands startingwith (strin

9、g)# $ /2T - Entire directorystructureincludingHiddenone# $ 2T - Only SubDirs inside includingHidden one# $ *2T - Only SubDirs inside without Hiddenone# $ 2T- AllPresent Users on systemfrom /etc/passwd# $ $2T - AllSys variables# $ 2T - Entries from /etc/hosts# $ =2T- Output likels or dir(责任编辑:云子)名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 3 页,共 3 页 - - - - - - - - -

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 高考资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁