久久精品人人爽,华人av在线,亚洲性视频网站,欧美专区一二三

linux bind命令有什么作用

共計(jì) 4585 個(gè)字符,預(yù)計(jì)需要花費(fèi) 12 分鐘才能閱讀完成。

這篇文章主要介紹了 linux bind 命令有什么作用的相關(guān)知識(shí),內(nèi)容詳細(xì)易懂,操作簡(jiǎn)單快捷,具有一定借鑒價(jià)值,相信大家閱讀完這篇 linux bind 命令有什么作用文章都會(huì)有所收獲,下面我們一起來(lái)看看吧。

linux bind 是一個(gè)用于顯示或設(shè)置鍵盤(pán)按鍵與其相關(guān)功能的命令,可以利用 bind 命令了解有哪些按鍵組合與其功能,也可以自行指定要用哪些按鍵組合;其使用語(yǔ)法是“bind [-dlv][-f …][-m …][-q …]”。

Linux bind 命令

Linux bind 命令用于顯示或設(shè)置鍵盤(pán)按鍵與其相關(guān)的功能。

您可以利用 bind 命令了解有哪些按鍵組合與其功能,也可以自行指定要用哪些按鍵組合。

語(yǔ)法

bind [-dlv][-f  按鍵配置文件][-m  按鍵配置][-q  功能]

參數(shù)說(shuō)明:

-d  顯示按鍵配置的內(nèi)容。-f 按鍵配置文件   載入指定的按鍵配置文件。-l  列出所有的功能。-m 按鍵配置   指定按鍵配置。-q 功能   顯示指定功能的按鍵。-v  列出目前的按鍵配置與其功能。

實(shí)例

顯示按鍵組合的所有功能

# bind -l // 顯示按鍵組合的內(nèi)容
abort
accept-line
alias-expand-line
arrow-key-prefix
backward-byte
backward-char
backward-delete-char
backward-kill-line
backward-kill-word
backward-word
beginning-of-history
beginning-of-line
……省略部分內(nèi)容
vi-goto-mark
vi-insert-beg
vi-insertion-mode
vi-match
vi-movement-mode
vi-next-word
vi-overstrike
vi-overstrike-delete
vi-prev-word
vi-put
vi-redo
vi-replace
vi-rubout
vi-search
vi-search-again
vi-set-mark
vi-subst
vi-tilde-expand
vi-yank-arg
vi-yank-to
yank-last-arg
yank-nth-arg
yank-pop

顯示當(dāng)前按鍵組合的設(shè)置

# bind -l
abort
accept-line
alias-expand-line
arrow-key-prefix
backward-byte
backward-char
backward-delete-char
backward-kill-line
backward-kill-word
backward-word
beginning-of-history
beginning-of-line
call-last-kbd-macro
capitalize-word
character-search
character-search-backward
clear-screen
complete
complete-command
complete-filename
complete-hostname
complete-into-braces
complete-username
complete-variable
copy-backward-word
copy-forward-word
copy-region-as-kill
dabbrev-expand
delete-char
delete-char-or-list
delete-horizontal-space
digit-argument
display-shell-version
do-lowercase-version
downcase-word
dump-functions
dump-macros
dump-variables
dynamic-complete-history
edit-and-execute-command
emacs-editing-mode
end-kbd-macro
end-of-history
end-of-line
exchange-point-and-mark
forward-backward-delete-char
forward-byte
forward-char
forward-search-history
forward-word
glob-complete-word
glob-expand-word
glob-list-expansions
history-and-alias-expand-line
history-expand-line
history-search-backward
history-search-forward
insert-comment
insert-completions
insert-last-argument
kill-line
kill-region
kill-whole-line
kill-word
magic-space
menu-complete
menu-complete-backward
next-history
non-incremental-forward-search-history
non-incremental-forward-search-history-again
non-incremental-reverse-search-history
non-incremental-reverse-search-history-again
old-menu-complete
operate-and-get-next
overwrite-mode
possible-command-completions
possible-completions
possible-filename-completions
possible-hostname-completions
possible-username-completions
possible-variable-completions
previous-history
quoted-insert
redraw-current-line
re-read-init-file
reverse-search-history
revert-line
self-insert
set-mark
shell-backward-kill-word
shell-backward-word
shell-expand-line
shell-forward-word
shell-kill-word
skip-csi-sequence
start-kbd-macro
tab-insert
tilde-expand
transpose-chars
transpose-words
tty-status
universal-argument
unix-filename-rubout
unix-line-discard
unix-word-rubout
upcase-word
vi-append-eol
vi-append-mode
vi-arg-digit
vi-back-to-indent
vi-bword
vi-bWord
vi-change-case
vi-change-char
vi-change-to
vi-char-search
vi-column
vi-complete
vi-delete
vi-delete-to
vi-editing-mode
vi-end-word
vi-eof-maybe
vi-eword
vi-eWord
vi-fetch-history
vi-first-print
vi-fword
vi-fWord
vi-goto-mark
vi-insert-beg
vi-insertion-mode
vi-match
vi-movement-mode
vi-next-word
vi-overstrike
vi-overstrike-delete
vi-prev-word
vi-put
vi-redo
vi-replace
vi-rubout
vi-search
vi-search-again
vi-set-mark
vi-subst
vi-tilde-expand
vi-yank-arg
vi-yank-to
yank-last-arg
yank-nth-arg
yank-pop
root@snail-hnlinux:~# 
root@snail-hnlinux:~# 
root@snail-hnlinux:~# 
root@snail-hnlinux:~# 
root@snail-hnlinux:~# bind -v
set bind-tty-special-chars on
set blink-matching-paren on
set byte-oriented off
set completion-ignore-case off
set convert-meta off
set disable-completion off
set echo-control-characters on
set enable-keypad off
set enable-meta-key on
set expand-tilde off
set history-preserve-point off
set horizontal-scroll-mode off
set input-meta on
set mark-directories on
set mark-modified-lines off
set mark-symlinked-directories off
set match-hidden-files on
set meta-flag on
set output-meta on
set page-completions on
set prefer-visible-bell on
set print-completions-horizontally off
set revert-all-at-newline off
set show-all-if-ambiguous off
set show-all-if-unmodified off
set skip-completed-text off
set visible-stats off
set bell-style audible
set comment-begin #
set completion-prefix-display-length 0
set completion-query-items 100
set editing-mode emacs
set history-size 1000
set keymap emacs

列出指定功能的按鍵和按鍵組合

# bind -q abort
// 請(qǐng)用   調(diào)用 abort “C-g”, “C-xC-g”, “eC-g”.
# bind -q accept-line // 列出功能“accept-line”按鍵以及組合按鍵
// 請(qǐng)用   調(diào)用 accept-line “C-j”, “C-m”.

關(guān)于“l(fā)inux bind 命令有什么作用”這篇文章的內(nèi)容就介紹到這里,感謝各位的閱讀!相信大家對(duì)“l(fā)inux bind 命令有什么作用”知識(shí)都有一定的了解,大家如果還想學(xué)習(xí)更多知識(shí),歡迎關(guān)注丸趣 TV 行業(yè)資訊頻道。

正文完
 
丸趣
版權(quán)聲明:本站原創(chuàng)文章,由 丸趣 2023-07-12發(fā)表,共計(jì)4585字。
轉(zhuǎn)載說(shuō)明:除特殊說(shuō)明外本站除技術(shù)相關(guān)以外文章皆由網(wǎng)絡(luò)搜集發(fā)布,轉(zhuǎn)載請(qǐng)注明出處。
評(píng)論(沒(méi)有評(píng)論)
主站蜘蛛池模板: 天镇县| 潢川县| 革吉县| 敦煌市| 淳安县| 栖霞市| 奈曼旗| 安丘市| 常宁市| 南宁市| 遂宁市| 德州市| 昭平县| 信宜市| 阿勒泰市| 平江县| 璧山县| 大埔区| 玉田县| 清水河县| 陆川县| 安顺市| 铜鼓县| 涪陵区| 临猗县| 蓝山县| 威宁| 盱眙县| 桂平市| 廉江市| 阳信县| 卢湾区| 邹城市| 峡江县| 富顺县| 江永县| 抚松县| 澳门| 香格里拉县| 琼海市| 武汉市|