Auto completa no terminal

Adicionar legenda
1.Se torne root no termina .

2.Edite o arquivo /etc/bash.bashrc

#nano /etc/bashrc


3.Ache as linhas
#enable bash completion in interactive shells
#if [ -f /etc/bash_completion ]; then
#/etc/bash_completion
#fi

4.Descomente as 3 ultimas linhas(deve ficar assim):

#enable bash completion in interactive shells
if [ -f /etc/bash_completion ]; then
/etc/bash_completion
fi

5.Salve o arquivo e execute:


#source /etc/bash.bashrc

Comentários

Postagens mais visitadas