OPERATING SYSTEMSOS Linux

How to get Terminal Autocomplete Working in Ubuntu

There is a feature in Linux where pressing Tab key in Bash Terminal will autocomplete or offer suggestions of commands and parameters. However, in some lightweight implementations, such as on ARM based devices, the feature has not been installed.

Instructions:
sudo apt install bash-completion command-not-found
sudo nano /etc/bash.bashrc
Optional – You can uncomment the section for enable bash completion in interactive shells

Wallpaper: https://www.pling.com/p/1485151

Like my channel? Please help support it:
Paypal: https://www.paypal.me/quidsup

Follow me on Social Media
Twitter: https://twitter.com/quidsup
MeWe: https://mewe.com/i/quidsup
Minds: https://minds.com/quidsup

#Linux
#Terminal
#Tutorial

source

ubuntu

10 thoughts on “How to get Terminal Autocomplete Working in Ubuntu

  • I have login an amazon cloud virtual machine with red hat linux operating system using ssh at my windows command prompt .When I start writing a command for example write first two letters of chown 'ch' pressing Tab once just makes a noise instead of autocompeting.If i press it twice it shows a list with all commands starting with ch as it should.

    I have installed bash-completion but it doesnt work.How can I make Tab to autocomplete properly at Linux sorry for the stupid question but could the problem be at my windows command prompt settings or is it something I should do at the cloud virtual machine?

  • I am not a techie….
    Apparently these two packages are already installed in my ubuntu 20.04. But hitting the Tab key does nothing. Am I misunderstanding how these functions work?

Comments are closed.