bash-completion
을 설치해주면 자동완성을 추가할 수 있다.
자동완성 설치
1. bash-completion 설치
$ sudo apt install bash-completion
$ sudo vim /etc/profile
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
$ source /etc/profile