刚安装个BackTrack5(基于Ubuntu)做安全测试,发现默认安全设置级别很高,连ssh服务默认都关闭,root下不能使用tab键补全命令,这个就真不方便了.原因是root的配置文件注释了三行脚本. 解决方法: vim /root/.bashrc 找到最后的六行,把注释掉的三行去掉前面的#,保存生效,退出再登录就OK. if [ -f /etc/bash_completion ] && ! shopt -oq posix; then . /etc/bash_completion fi
Input History readline tracks the input history automatically. There are two different sets of functions for working with the history. The history for the current session can be accessed with get_current_history_length()and get_history_item(). That s