这篇文章主要介绍了linux bind命令有什么作用的相关知识,内容详细易懂,操作简单快捷,具有一定借鉴价值,相信大家阅读完这篇linux bind命令有什么作用文章都会有所收获,下面我们一起来看看吧。
linux bind是一个用于显示或设置键盘按键与其相关功能的命令,可以利用bind命令了解有哪些按键组合与其功能,也可以自行指定要用哪些按键组合;其使用语法是“bind [-dlv][-f ][-m ][-q ]”。
Linux bind命令
Linux bind命令用于显示或设置键盘按键与其相关的功能。
您可以利用bind命令了解有哪些按键组合与其功能,也可以自行指定要用哪些按键组合。
语法
bind[-dlv][-f][-m][-q]
参数说明:
-d 显示按键配置的内容。-f 载入指定的按键配置文件。-l 列出所有的功能。-m 指定按键配置。-q 显示指定功能的按键。-v 列出目前的按键配置与其功能。
实例
显示按键组合的所有功能
#bind-l//显示按键组合的内容abortaccept-linealias-expand-linearrow-key-prefixbackward-bytebackward-charbackward-delete-charbackward-kill-linebackward-kill-wordbackward-wordbeginning-of-historybeginning-of-line……省略部分内容vi-goto-markvi-insert-begvi-insertion-modevi-matchvi-movement-modevi-next-wordvi-overstrikevi-overstrike-deletevi-prev-wordvi-putvi-redovi-replacevi-ruboutvi-searchvi-search-againvi-set-markvi-substvi-tilde-expandvi-yank-argvi-yank-toyankyank-last-argyank-nth-argyank-pop
显示当前按键组合的设置
#bind-labortaccept-linealias-expand-linearrow-key-prefixbackward-bytebackward-charbackward活动:慈云数据爆款香港服务器,CTG+CN2高速带宽、快速稳定、平均延迟10+ms 速度快,免备案,每月仅需19元!! 点击查看-delete-charbackward-kill-linebackward-kill-wordbackward-wordbeginning-of-historybeginning-of-linecall-last-kbd-macrocapitalize-wordcharacter-searchcharacter-search-backwardclear-screencompletecomplete-commandcomplete-filenamecomplete-hostnamecomplete-into-bracescomplete-usernamecomplete-variablecopy-backward-wordcopy-forward-wordcopy-region-as-killdabbrev-expanddelete-chardelete-char-or-listdelete-horizontal-spacedigit-argumentdisplay-shell-versiondo-lowercase-versiondowncase-worddump-functionsdump-macrosdump-variablesdynamic-complete-historyedit-and-execute-commandemacs-editing-modeend-kbd-macroend-of-historyend-of-lineexchange-point-and-markforward-backward-delete-charforward-byteforward-charforward-search-historyforward-wordglob-complete-wordglob-expand-wordglob-list-expansionshistory-and-alias-expand-linehistory-expand-linehistory-search-backwardhistory-search-forwardinsert-commentinsert-completionsinsert-last-argumentkill-linekill-regionkill-whole-linekill-wordmagic-spacemenu-completemenu-complete-backwardnext-historynon-incremental-forward-search-historynon-incremental-forward-search-history-againnon-incremental-reverse-search-historynon-incremental-reverse-search-history-againold-menu-completeoperate-and-get-nextoverwrite-modepossible-command-completionspossible-completionspossible-filename-completionspossible-hostname-completionspossible-username-completionspossible-variable-completionsprevious-historyquoted-insertredraw-current-linere-read-init-filereverse-search-historyrevert-lineself-insertset-markshell-backward-kill-wordshell-backward-wordshell-expand-lineshell-forward-wordshell-kill-wordskip-csi-sequencestart-kbd-macrotab-inserttilde-expandtranspose-charstranspose-wordstty-statusundouniversal-argumentunix-filename-ruboutunix-line-discardunix-word-ruboutupcase-wordvi-append-eolvi-append-modevi-arg-digitvi-back-to-indentvi-bwordvi-bWordvi-change-casevi-change-charvi-change-tovi-char-searchvi-columnvi-completevi-deletevi-delete-tovi-editing-modevi-end-wordvi-eof-maybevi-ewordvi-eWordvi-fetch-historyvi-first-printvi-fwordvi-fWordvi-goto-markvi-insert-begvi-insertion-modevi-matchvi-movement-modevi-next-wordvi-overstrikevi-overstrike-deletevi-prev-wordvi-putvi-redovi-replacevi-ruboutvi-searchvi-search-againvi-set-markvi-substvi-tilde-expandvi-yank-argvi-yank-toyankyank-last-argyank-nth-argyank-poproot@snail-hnlinux:~#root@snail-hnlinux:~#root@snail-hnlinux:~#root@snail-hnlinux:~#root@snail-hnlinux:~#bind-vsetbind-tty-special-charsonsetblink-matching-parenonsetbyte-orientedoffsetcompletion-ignore-caseoffsetconvert-metaoffsetdisable-completionoffsetecho-control-charactersonsetenable-keypadoffsetenable-meta-keyonsetexpand-tildeoffsethistory-preserve-pointoffsethorizontal-scroll-modeoffsetinput-metaonsetmark-directoriesonsetmark-modified-linesoffsetmark-symlinked-directoriesoffsetmatch-hidden-filesonsetmeta-flagonsetoutput-metaonsetpage-completionsonsetprefer-visible-bellonsetprint-completions-horizontallyoffsetrevert-all-at-newlineoffsetshow-all-if-ambiguousoffsetshow-all-if-unmodifiedoffsetskip-completed-textoffsetvisible-statsoffsetbell-styleaudiblesetcomment-begin#setcompletion-prefix-display-length0setcompletion-query-items100setediting-modeemacssethistory-size1000setkeymapemacs
列出指定功能的按键和按键组合
#bind-qabort//请用调用abort“C-g”,“C-xC-g”,“eC-g”.#bind-qaccept-line//列出功能“accept-line”按键以及组合按键//请用调用accept-line“C-j”,“C-m”.
关于“linux bind命令有什么作用”这篇文章的内容就介绍到这里,感谢各位的阅读!相信大家对“linux bind命令有什么作用”知识都有一定的了解,大家如果还想学习更多知识,欢迎关注服务器测评网行业资讯频道。
还没有评论,来说两句吧...