Shell

Disable the auto complete feature of the BASH shell

bash One advantage of Bash is auto-completion, which saves typing every character of a command or filename. This article covers two ways to disable auto-completion:

  1. To disable auto-completion for all users, add the following to /etc/inputrc:
set disable-completion on
  1. To disable it for a particular user, follow the steps below. This example disables it for user1.
# su - user1
# cat /etc/inputrc  > ~/.inputrc
# echo "set disable-completion on" >> ~/.inputrc
# exit

The changes take effect when the user logs in again.

EOF.← Back to articles