centos 7, dd, and filename completion
I have installed a couple CentOS servers, and in all the dd program will no longer do filename completion for the if= or of= parameters. Tab does nothing, so I often have to open another terminal to see what the heck I really used for a filename.
All other programs I have used do filename completion fine. Is this some new "feature" of dd, or just a bug? Anyone else see this behavior in v7? BTW, my Fedora 20 machine doesn't have this problem with dd |
It should auto complete. Are you providing the full and correct path?
Also, what terminal are you using? BASH? Is BASH auto completing elsewhere? |
Yes I use bash, and yes autocompletion is working in every other script/program that I use.
An example: I have a root terminal open to a current directory with a file vm148.iso. If I enter dd if=v<TAB> nothing comes back. If I enter cp v<TAB> the complete file name shows right up. dd is the only program that is acting differently than previous versions. I don't see this problem with dd in centos 6.5. I have this kernel: 3.10.0-123.8.1.el7.x86_64 x86_64 GNU/Linux As near as I can deduce, something changed in the dd program for this centos release. I forgot to add, centos 7 has dd v8.22 and fedora 20 has dd v8.21 |
Interesting.
What happens if you enter Code:
dd [space] if= [space] v<TAB> |
Thank you. Changing the = to a space does command completion. Apparently the syntax is changed a bit in this version of dd, and the man page isn't updated since it still says:
Quote:
Anyway, thank you for your help! |
doug g, somehow i have the feeling you got this wrong.
which version of dd are you running? mine: Code:
$ dd if livarp_cli_20140808.iso of /dev/zero |
Quote:
The 8.21 version does not seem to like a space immediately after the if operator. The 8.22 version doesn't like an = You seem to have v8.23, perhaps there is an update I haven't installed yet. This CentOS 7 install is about 2 weeks old, installed from DVD as minimal installation, and updated with the included repositories. I added the epel repo, that's all. Quote:
|
All times are GMT -5. The time now is 11:39 AM. |