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?
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?
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.