CentOSThis forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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:
if=FILE
read from FILE instead of stdin
I've always used =, but it's easy enough to change my habits.
As I posted above, the fedora 20 version is 8.21 and the centos 7 version is 8.22. 8.22 is the version that is operating differently.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.