Linux文本模式下的命令行提示符
在Linux文本模式下用根用户登陆后命令行提示符为如下格式:;root@localhost:~[root@localhost~]#而且每次运行命令时,主机都会“滴”一下。...
在Linux文本模式下用根用户登陆后命令行提示符为如下格式:
;root@localhost:~[root@localhost~]#
而且每次运行命令时,主机都会“滴”一下。这是怎么回事啊?
请各位帮忙了,十分感谢! 展开
;root@localhost:~[root@localhost~]#
而且每次运行命令时,主机都会“滴”一下。这是怎么回事啊?
请各位帮忙了,十分感谢! 展开
5个回答
展开全部
什么版本的linux?
可以把blacklist pcspkr加入blacklist.conf(此文件不同的linux可能不太一样),重启生效
或者运行rmmod pcspkr,重启后需要再一次运行该命令
可以把blacklist pcspkr加入blacklist.conf(此文件不同的linux可能不太一样),重启生效
或者运行rmmod pcspkr,重启后需要再一次运行该命令
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
改动一下家目录下的 .inputrc, 没有就建立一个,我的是这样
# base-files version 3.7-1
# To pick up the latest recommended .inputrc content,
# look in /etc/defaults/etc/skel/.inputrc
# Modifying /etc/skel/.inputrc directly will prevent
# setup from updating it.
# The copy in your home directory (~/.inputrc) is yours, please
# feel free to customise it to create a shell
# environment to your liking. If you feel a change
# would be benifitial to all, please feel free to send
# a patch to the cygwin mailing list.
# the following line is actually
# equivalent to "\C-?": delete-char
"\e[3~": delete-char
# VT
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# kvt
"\e[H": beginning-of-line
"\e[F": end-of-line
# rxvt and konsole (i.e. the KDE-app...)
"\e[7~": beginning-of-line
"\e[8~": end-of-line
# VT220
"\eOH": beginning-of-line
"\eOF": end-of-line
# Allow 8-bit input/output
set meta-flag on
set convert-meta off
set input-meta on
set output-meta on
#$if Bash
# Don't ring bell on completion
set bell-style none
# or, don't beep at me - show me
set bell-style visible
# Filename completion/expansion
#set completion-ignore-case on
#set show-all-if-ambiguous on
# Expand homedir name
#set expand-tilde on
# Append "/" to all dirnames
#set mark-directories on
#set mark-symlinked-directories on
# Match all files
#set match-hidden-files on
# 'Magic Space'
# Insert a space character then performs
# a history expansion in the line
#Space: magic-space
#$endif
你可把这个放到家目录,我已设为没`beep'声, 看看成不成?
# base-files version 3.7-1
# To pick up the latest recommended .inputrc content,
# look in /etc/defaults/etc/skel/.inputrc
# Modifying /etc/skel/.inputrc directly will prevent
# setup from updating it.
# The copy in your home directory (~/.inputrc) is yours, please
# feel free to customise it to create a shell
# environment to your liking. If you feel a change
# would be benifitial to all, please feel free to send
# a patch to the cygwin mailing list.
# the following line is actually
# equivalent to "\C-?": delete-char
"\e[3~": delete-char
# VT
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# kvt
"\e[H": beginning-of-line
"\e[F": end-of-line
# rxvt and konsole (i.e. the KDE-app...)
"\e[7~": beginning-of-line
"\e[8~": end-of-line
# VT220
"\eOH": beginning-of-line
"\eOF": end-of-line
# Allow 8-bit input/output
set meta-flag on
set convert-meta off
set input-meta on
set output-meta on
#$if Bash
# Don't ring bell on completion
set bell-style none
# or, don't beep at me - show me
set bell-style visible
# Filename completion/expansion
#set completion-ignore-case on
#set show-all-if-ambiguous on
# Expand homedir name
#set expand-tilde on
# Append "/" to all dirnames
#set mark-directories on
#set mark-symlinked-directories on
# Match all files
#set match-hidden-files on
# 'Magic Space'
# Insert a space character then performs
# a history expansion in the line
#Space: magic-space
#$endif
你可把这个放到家目录,我已设为没`beep'声, 看看成不成?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
可能是上次哪个命令有问题,参数有问题的原因。重新输入上次你输入的命令。我以前也碰到过。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
主机都会“滴”一下提示你 你现在是用root来操作,建议新建一个帐户,用root是一件很危险的事。像Ubuntu 就完全取消了root,加了sudo命令,保障安全
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询