To install and enable Bash auto completion in Fedora Linux, follow these steps:
bash-completion
package using the package manager:sudo dnf install bash-completion
~/.bashrc
file:source /usr/share/bash-completion/bash_completion
This will enable Bash auto completion for all users on the system.
If you want to enable Bash auto completion for a specific user, you can add the above line to the user's ~/.bashrc
file instead.
To apply the changes and enable Bash auto completion, you will need to log out and log back in, or you can source the ~/.bashrc
file using the following command:
source ~/.bashrc
Bash auto completion should now be enabled and you should be able to use it when typing commands in the terminal.