Hello there This is your first time to login from this IP. Have fun with Enterprise Q&A
0 投票
分类:Other related | 用户:

Just a quick one today. After installing the latest edition of Ubuntu 9.10 into
a virtual machine I discovered that tab auto-completion was missing for aptget and most other more advanced forms of the useful time saver. After a
whole lot of searching on the topic, I found in an Ubuntu Launchpad bug fix
thread that referenced a package you need to install called “bash-completion”
package to get this working:
apt-get install bash-completion
Log out and in again and it¶s working! A minor note for some versions of
ubuntu, and also for the root account. You might need to edit your .bashrc file
and un-comment a section at the bottom that contains the following (uncomment the last 3 lines):
# enable programmable completion features (\ou don't need to enable
# this, if it's alread\ enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
There you have it. Tab auto-completion re-enabled.
Filed under Linux, Ubuntu Tagged apt-get, Bash, Linux, Tips, Ubuntu
 

你的回答

昵称(可选):
隐私:你的邮箱仅用于接收通知。
Welcome to Memo QA
欢迎来到Memo快速问答

分类

...