On Friday 17 February 2012 09:02:17 Richard Owlett wrote:
> Jordan Uggla wrote:
> >> From Ubuntu, "sudo apt-get install mbr&&  sudo install-mbr /dev/sdX"
> > 
> > where sdX is the drive (*not* partition) containing Windows. This is
> > most likely /dev/sda, but be sure.
> 
> Is that one line or two?
> IOW is the double ampersand a continuation "character"?

'&&': 'if true, then'. If the command succeeded, then perform the following 
command.

'||' is the opposite: if command failed, then perform the following command.

They're shorthand that can eliminate the verbosity of 'if-then-fi'.

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to