Ubuntu bash auto completion and suggestion for command not found
来源:互联网 发布:sql查密码 编辑:程序博客网 时间:2024/05/20 00:53
1. auto completion
修改/etc/bash.bashrc或者~/.bashrc。去掉bash completion的注释。
# enable programmable completion features (you don't need to enable# this, if it's already enabled in /etc/bash.bashrc and /etc/profile# sources /etc/bash.bashrc).if [ -f /etc/bash_completion ] && ! shopt -oq posix; then . /etc/bash_completionfi
2. command not found
sudo apt-get install command-not-found
这样再输入命令时,如果命令或软件没有安装,会提示是不是相关的命令。然后可以按照提示的名字用apt-get install.
- Ubuntu bash auto completion and suggestion for command not found
- bash:command not found
- bash:command not found
- bash:command not found
- bash:command not found
- bash: ***: command not found
- -bash: id: command not found -bash: tty: command not found
- bash: id : command not found -bash: tty: command not found
- -bash: sz: command not found、-bash: rz: command not found
- -bash: mkfir: command not found -bash: wget: command not found
- bash: groupadd: command not found
- bash: groupadd: command not found
- bash: ifconfig: command not found
- bash:fdisk:command not found
- bash: chkconfig: command not found
- bash: groupadd: command not found
- bash: chkconfig: command not found
- bash:gcc:command not found
- 如何解决软键盘弹出引起的各种不适
- Java利用ssh工具远程执行shell脚本
- VIM
- 关于mount、umount函数以及命令的区别
- Centos 6.3下 sheepdog 4.0 安装
- Ubuntu bash auto completion and suggestion for command not found
- 关于程序员的技能与收入 技术定律
- [Oracle] ORA-03113错误分析与解决
- 想念那一池莲花
- Android分辨率
- 按键驱动——查询方式实现
- 使用Ant编译Android项目
- java中二进制、八进制、十六制相互转换
- 安装windows phone 8 的准备