cli guru needed

Patrick O'Callaghan pocallaghan at gmail.com
Sun Aug 2 18:30:56 UTC 2009


On Sun, 2009-08-02 at 12:54 -0500, Mikkel L. Ellertson wrote:
> Bazooka Joe wrote:
> > Is there a way to combine these 2 commands to cut my time in half?
> > 
> > VBoxManage internalcommands  converttoraw file.vdi file.raw
> > then I have to run
> > dd if=file.raw of=/dev/sdb
> > 
> > -thx
> > 
> You can can command on the same command in several ways. It depends
> on what you put between the command.
> 
> ; - always run the next command.
> && - run the second command only if the first command is successful.
> || - run the second command if the first one fails.

How is this going to reduce his total time? The commands are still
running sequentially.

poc




More information about the fedora-list mailing list