Linux的bind命令怎么使用
本篇内容主要讲解“Linux的bind命令怎么使用”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“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-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
到此,相信大家对“Linux的bind命令怎么使用”有了更深的了解,不妨来实际操作一番吧!这里是亿速云网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。