Why is “boot-repair” listed twice in the ubuntu documentation?

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








up vote
5
down vote

favorite
1












I'm new to Ubuntu and I'm going through the official documentation. Can someone explain why the command sudo apt-get install -y boot-repair && boot-repair lists "boot-repair" twice?



Seen here in this image.










share|improve this question

















  • 2




    Obviously because boot-repair is twice as important as the other commands (joke)
    – Baldrickk
    Feb 20 at 11:57














up vote
5
down vote

favorite
1












I'm new to Ubuntu and I'm going through the official documentation. Can someone explain why the command sudo apt-get install -y boot-repair && boot-repair lists "boot-repair" twice?



Seen here in this image.










share|improve this question

















  • 2




    Obviously because boot-repair is twice as important as the other commands (joke)
    – Baldrickk
    Feb 20 at 11:57












up vote
5
down vote

favorite
1









up vote
5
down vote

favorite
1






1





I'm new to Ubuntu and I'm going through the official documentation. Can someone explain why the command sudo apt-get install -y boot-repair && boot-repair lists "boot-repair" twice?



Seen here in this image.










share|improve this question













I'm new to Ubuntu and I'm going through the official documentation. Can someone explain why the command sudo apt-get install -y boot-repair && boot-repair lists "boot-repair" twice?



Seen here in this image.







boot-repair






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 20 at 1:32









Gabriel Fair

98115




98115







  • 2




    Obviously because boot-repair is twice as important as the other commands (joke)
    – Baldrickk
    Feb 20 at 11:57












  • 2




    Obviously because boot-repair is twice as important as the other commands (joke)
    – Baldrickk
    Feb 20 at 11:57







2




2




Obviously because boot-repair is twice as important as the other commands (joke)
– Baldrickk
Feb 20 at 11:57




Obviously because boot-repair is twice as important as the other commands (joke)
– Baldrickk
Feb 20 at 11:57










1 Answer
1






active

oldest

votes

















up vote
12
down vote



accepted










The last line contains two commands.



The first part installs boot-repair. (sudo apt-get install -y boot-repair)



The "&&" characters is a delimiter like ";" is, however its conditional on success, ie. the command following it is only to be run IF the first command had no errors.



The 'second' boot-repair is the one that runs it.






share|improve this answer




















  • If you used a ";" and the install command worked; the result would be the same as it'd install, then run. If however the install failed you'd get errors for the install failing, followed by more errors as boot-repair couldn't be found... The && conditional parameters reduces the errors (if they occur) as they [errors] can scare users (what did i do wrong? did i break it?..)
    – guiverc
    Feb 20 at 1:40







  • 1




    oh of course, that makes sense. Thank you. I was thinking that it was trying to install it twice.
    – Gabriel Fair
    Feb 20 at 1:50










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
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: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f1007878%2fwhy-is-boot-repair-listed-twice-in-the-ubuntu-documentation%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
12
down vote



accepted










The last line contains two commands.



The first part installs boot-repair. (sudo apt-get install -y boot-repair)



The "&&" characters is a delimiter like ";" is, however its conditional on success, ie. the command following it is only to be run IF the first command had no errors.



The 'second' boot-repair is the one that runs it.






share|improve this answer




















  • If you used a ";" and the install command worked; the result would be the same as it'd install, then run. If however the install failed you'd get errors for the install failing, followed by more errors as boot-repair couldn't be found... The && conditional parameters reduces the errors (if they occur) as they [errors] can scare users (what did i do wrong? did i break it?..)
    – guiverc
    Feb 20 at 1:40







  • 1




    oh of course, that makes sense. Thank you. I was thinking that it was trying to install it twice.
    – Gabriel Fair
    Feb 20 at 1:50














up vote
12
down vote



accepted










The last line contains two commands.



The first part installs boot-repair. (sudo apt-get install -y boot-repair)



The "&&" characters is a delimiter like ";" is, however its conditional on success, ie. the command following it is only to be run IF the first command had no errors.



The 'second' boot-repair is the one that runs it.






share|improve this answer




















  • If you used a ";" and the install command worked; the result would be the same as it'd install, then run. If however the install failed you'd get errors for the install failing, followed by more errors as boot-repair couldn't be found... The && conditional parameters reduces the errors (if they occur) as they [errors] can scare users (what did i do wrong? did i break it?..)
    – guiverc
    Feb 20 at 1:40







  • 1




    oh of course, that makes sense. Thank you. I was thinking that it was trying to install it twice.
    – Gabriel Fair
    Feb 20 at 1:50












up vote
12
down vote



accepted







up vote
12
down vote



accepted






The last line contains two commands.



The first part installs boot-repair. (sudo apt-get install -y boot-repair)



The "&&" characters is a delimiter like ";" is, however its conditional on success, ie. the command following it is only to be run IF the first command had no errors.



The 'second' boot-repair is the one that runs it.






share|improve this answer












The last line contains two commands.



The first part installs boot-repair. (sudo apt-get install -y boot-repair)



The "&&" characters is a delimiter like ";" is, however its conditional on success, ie. the command following it is only to be run IF the first command had no errors.



The 'second' boot-repair is the one that runs it.







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 20 at 1:36









guiverc

3,72811422




3,72811422











  • If you used a ";" and the install command worked; the result would be the same as it'd install, then run. If however the install failed you'd get errors for the install failing, followed by more errors as boot-repair couldn't be found... The && conditional parameters reduces the errors (if they occur) as they [errors] can scare users (what did i do wrong? did i break it?..)
    – guiverc
    Feb 20 at 1:40







  • 1




    oh of course, that makes sense. Thank you. I was thinking that it was trying to install it twice.
    – Gabriel Fair
    Feb 20 at 1:50
















  • If you used a ";" and the install command worked; the result would be the same as it'd install, then run. If however the install failed you'd get errors for the install failing, followed by more errors as boot-repair couldn't be found... The && conditional parameters reduces the errors (if they occur) as they [errors] can scare users (what did i do wrong? did i break it?..)
    – guiverc
    Feb 20 at 1:40







  • 1




    oh of course, that makes sense. Thank you. I was thinking that it was trying to install it twice.
    – Gabriel Fair
    Feb 20 at 1:50















If you used a ";" and the install command worked; the result would be the same as it'd install, then run. If however the install failed you'd get errors for the install failing, followed by more errors as boot-repair couldn't be found... The && conditional parameters reduces the errors (if they occur) as they [errors] can scare users (what did i do wrong? did i break it?..)
– guiverc
Feb 20 at 1:40





If you used a ";" and the install command worked; the result would be the same as it'd install, then run. If however the install failed you'd get errors for the install failing, followed by more errors as boot-repair couldn't be found... The && conditional parameters reduces the errors (if they occur) as they [errors] can scare users (what did i do wrong? did i break it?..)
– guiverc
Feb 20 at 1:40





1




1




oh of course, that makes sense. Thank you. I was thinking that it was trying to install it twice.
– Gabriel Fair
Feb 20 at 1:50




oh of course, that makes sense. Thank you. I was thinking that it was trying to install it twice.
– Gabriel Fair
Feb 20 at 1:50

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1007878%2fwhy-is-boot-repair-listed-twice-in-the-ubuntu-documentation%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491