linux bind是什么
发布时间 - 2023-03-25 00:00:00 点击率:次linux bind是一个用于显示或设置键盘按键与其相关功能的命令,可以利用bind命令了解有哪些按键组合与其功能,也可以自行指定要用哪些按键组合;其使用语法是“bind [-dlv][-f ][-m ][-q ]”。
本教程操作环境:linux5.9.8系统、Dell G3电脑。
linux bind是什么?
Linux bind命令
Linux bind命令用于显示或设置键盘按键与其相关的功能。
您可以利用bind命令了解有哪些按键组合与其功能,也可以自行指定要用哪些按键组合。
语法
bind [-dlv][-f <按键配置文件>][-m <按键配置>][-q <功能>]
参数说明:
-d 显示按键配置的内容。 -f<按键配置文件> 载入指定的按键配置文件。 -l 列出所有的功能。 -m<按键配置> 指定按键配置。 -q<功能> 显示指定功能的按键。 -v 列出目前的按键配置与其功能。
实例
显示按键组合的所有功能
# 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 ……省略部分内容 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 yank-last-arg yank-nth-arg yank-pop
显示当前按键组合的设置
# 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 undo 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 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 //请用 调用abort “C-g”, “C-xC-g”, “eC-g”. # bind -q accept-line //列出功能“accept-line”按键以及组合按键 //请用 调用accept-line “C-j”, “C-m”.
推荐学习:《linux视频教程》
# linux
# 配置文件
# 要用
# 请用
# 可以自行
# 是一个
# 有哪些
# 您可以
# 可以利用
# jpg
# efix
相关栏目:
【
网站优化151355 】
【
网络推广146373 】
【
网络技术251813 】
【
AI营销90571 】
相关推荐:
Laravel Eloquent:优雅地将关联模型字段扁平化到主模型中
Laravel如何保护应用免受CSRF攻击?(原理和示例)
使用spring连接及操作mongodb3.0实例
Laravel如何实现全文搜索_Laravel Scout集成Algolia或Meilisearch教程
香港服务器租用每月最低只需15元?
JavaScript如何实现错误处理_try...catch如何捕获异常?
文字头像制作网站推荐软件,醒图能自动配文字吗?
JavaScript数据类型有哪些_如何准确判断一个变量的类型
Laravel表单请求验证类怎么用_Laravel Form Request分离验证逻辑教程
详解vue.js组件化开发实践
Windows驱动无法加载错误解决方法_驱动签名验证失败处理步骤
Laravel如何实现多语言支持_Laravel本地化与国际化(i18n)配置教程
logo在线制作免费网站在线制作好吗,DW网页制作时,如何在网页标题前加上logo?
Laravel怎么做数据加密_Laravel内置Crypt门面的加密与解密功能
Laravel全局作用域是什么_Laravel Eloquent Global Scopes应用指南
实例解析angularjs的filter过滤器
详解jQuery中的事件
如何在Windows服务器上快速搭建网站?
千库网官网入口推荐 千库网设计创意平台入口
HTML5段落标签p和br怎么选_文本排版常用标签对比【解答】
广州网站制作公司哪家好一点,广州欧莱雅百库网络科技有限公司官网?
详解CentOS6.5 安装 MySQL5.1.71的方法
百度输入法ai面板怎么关 百度输入法ai面板隐藏技巧
Python3.6正式版新特性预览
Laravel如何使用Sanctum进行API认证?(SPA实战)
Laravel DB事务怎么使用_Laravel数据库事务回滚操作
高端建站三要素:定制模板、企业官网与响应式设计优化
Laravel的HTTP客户端怎么用_Laravel HTTP Client发起API请求教程
头像制作网站在线观看,除了站酷,还有哪些比较好的设计网站?
简单实现jsp分页
公司网站制作价格怎么算,公司办个官网需要多少钱?
网站制作免费,什么网站能看正片电影?
php静态变量怎么调试_php静态变量作用域调试技巧【解答】
如何基于云服务器快速搭建网站及云盘系统?
高防服务器如何保障网站安全无虞?
如何注册花生壳免费域名并搭建个人网站?
Gemini手机端怎么发图片_Gemini手机端发图方法【步骤】
企业在线网站设计制作流程,想建设一个属于自己的企业网站,该如何去做?
无锡营销型网站制作公司,无锡网选车牌流程?
如何用美橙互联一键搭建多站合一网站?
怎么制作一个起泡网,水泡粪全漏粪育肥舍冬季氨气超过25ppm,可以有哪些措施降低舍内氨气水平?
香港服务器网站搭建教程-电商部署、配置优化与安全稳定指南
Python制作简易注册登录系统
Python进程池调度策略_任务分发说明【指导】
*服务器网站为何频现安全漏洞?
laravel服务容器和依赖注入怎么理解_laravel服务容器与依赖注入解析
如何在IIS中新建站点并配置端口与IP地址?
Linux后台任务运行方法_nohup与&使用技巧【技巧】
javascript日期怎么处理_如何格式化输出
如何在IIS中新建站点并解决端口绑定冲突?


efix
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
undo
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
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