设定环境变量:
1)在bash下,把 stty erase ^H 添加到.bash_profile中
2)在csh下,把 stty erase ^H 添加到.cshrc中
下面是我今天的实现方法(在bash下)
[ root@testdb ~]# su - oracle 进入oracle主目录,里面有 .bash_profile
[root@testdb ~]# vi .bash_profile 添加一行
stty erase ^H
:wq 保存退出
重新用oracle登录则可
1)在bash下,把 stty erase ^H 添加到.bash_profile中
2)在csh下,把 stty erase ^H 添加到.cshrc中
下面是我今天的实现方法(在bash下)
[ root@testdb ~]# su - oracle 进入oracle主目录,里面有 .bash_profile
[root@testdb ~]# vi .bash_profile 添加一行
stty erase ^H
:wq 保存退出
重新用oracle登录则可
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22741583/viewspace-684259/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22741583/viewspace-684259/