Praba Nyoba Ngeblog

Feed Rss Nak Belog Melajah Ngeblog Apang Tusing Jadag Jodog

Mengaktifkan Auto Comlete Bash Linux

06.23.2009, linux, Tip+Trick, by .

bash adalah salah satu CLI [comand line interpreter] yang banyak digunakan di linux.
Pada bash terdapat fitur auto complete yaitu bisa melanjutkan mengetik perintah atau alamat direktory hanya dengan menekan tombol tab…
Pada kebanyakan sistem fitur ini sudah diaktifkan, namu pada beberapa sstem yang lain fitur ini belum aktif.
untuk mengaktifkanya edit file bash.bashrc dengan mengetikkan perintah sudo gedit /etc/bash.bashrc , masukkan password anda, kemudian cari

if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi

pada sistem yang fitur auto completnya belum aktif, maka didepan ketiga baris tersebut akan ada tanda pagar [#].
Untuk mengaktifkan fitur auto complete, yang perlu anda lakukan adalah dengan menghilangkan tanda pagar didepan ketiga baris tersebut, Save kemudian Restart.


Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>