When using TAB completion with dd command, options (like 'if' or 'of') disappear

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












When I type dd if= then hit TAB to complete, the file name is added, but the if= portion vanishes (and of= too, for that matter).



So for example, instead of



# dd if=input_file.iso of=/dev/sdb


I get



# dd input_file.iso /dev/sdb


when using TAB completion. What is going on?










share|improve this question





















  • Which shell are you using? Some of them are using dark magic these days... like bash tab completion helpers that just mess things up in completely unpredictable ways.
    – frostschutz
    Sep 19 at 18:58










  • I'm using bash.
    – quaeched
    Sep 19 at 19:32














up vote
1
down vote

favorite












When I type dd if= then hit TAB to complete, the file name is added, but the if= portion vanishes (and of= too, for that matter).



So for example, instead of



# dd if=input_file.iso of=/dev/sdb


I get



# dd input_file.iso /dev/sdb


when using TAB completion. What is going on?










share|improve this question





















  • Which shell are you using? Some of them are using dark magic these days... like bash tab completion helpers that just mess things up in completely unpredictable ways.
    – frostschutz
    Sep 19 at 18:58










  • I'm using bash.
    – quaeched
    Sep 19 at 19:32












up vote
1
down vote

favorite









up vote
1
down vote

favorite











When I type dd if= then hit TAB to complete, the file name is added, but the if= portion vanishes (and of= too, for that matter).



So for example, instead of



# dd if=input_file.iso of=/dev/sdb


I get



# dd input_file.iso /dev/sdb


when using TAB completion. What is going on?










share|improve this question













When I type dd if= then hit TAB to complete, the file name is added, but the if= portion vanishes (and of= too, for that matter).



So for example, instead of



# dd if=input_file.iso of=/dev/sdb


I get



# dd input_file.iso /dev/sdb


when using TAB completion. What is going on?







linux bash autocomplete dd






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 19 at 18:22









quaeched

233




233











  • Which shell are you using? Some of them are using dark magic these days... like bash tab completion helpers that just mess things up in completely unpredictable ways.
    – frostschutz
    Sep 19 at 18:58










  • I'm using bash.
    – quaeched
    Sep 19 at 19:32
















  • Which shell are you using? Some of them are using dark magic these days... like bash tab completion helpers that just mess things up in completely unpredictable ways.
    – frostschutz
    Sep 19 at 18:58










  • I'm using bash.
    – quaeched
    Sep 19 at 19:32















Which shell are you using? Some of them are using dark magic these days... like bash tab completion helpers that just mess things up in completely unpredictable ways.
– frostschutz
Sep 19 at 18:58




Which shell are you using? Some of them are using dark magic these days... like bash tab completion helpers that just mess things up in completely unpredictable ways.
– frostschutz
Sep 19 at 18:58












I'm using bash.
– quaeched
Sep 19 at 19:32




I'm using bash.
– quaeched
Sep 19 at 19:32















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f470097%2fwhen-using-tab-completion-with-dd-command-options-like-if-or-of-disappear%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f470097%2fwhen-using-tab-completion-with-dd-command-options-like-if-or-of-disappear%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay