Forum Discussion
For example, when you are try to change directories, you can type 'cd' and then use TAB to find files or complete the full name of file or dir after typing first few letters. That is what I mean by auto completion.
It is not working on the bash shell.
Ashish
Noted.
I will have to defer this to the platform expert @Lawrence_L_Intel - Can you please look into this issue on the Dev Cloud platform?
-Hazlina
- Lawrence_L_Intel4 years ago
Occasional Contributor
Hmm, my bash with a single or double tab works fine for me. There is an article here about bash autocomplete that might help. I've never had to set anything special, it just worked out of the box.
https://www.cyberciti.biz/faq/add-bash-auto-completion-in-ubuntu-linux/
regards
Larry
- ashishkkaul4 years ago
Occasional Contributor
Larry,
We are not allowed to run sudo and for me /etc/profile.d/bash_completion.sh does not exist.
============
Dear User,
this server does not allow you to run "sudo".
If you need to install a dependency, please put it in your home directory.
* For autotools, you can do it with "./configure --prefix=~/my-path"
* For Python packages, use "pip install <package_name> --user" or create a Conda environment.Sincerely,
Admins===========
cat /etc/profile.d/bash_completion.sh
cat: /etc/profile.d/bash_completion.sh: No such file or directory- Lawrence_L_Intel4 years ago
Occasional Contributor
I have never seen this one before. What machine are you on? Perhaps you can save your various dot files .bashrc, .profile etc and copy the defaults from /etc/skel. Let me know if that works. Thanks