cli guru needed

Mikkel L. Ellertson mikkel at infinity-ltd.com
Sun Aug 2 17:54:35 UTC 2009


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.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090802/a2f1f4c1/attachment-0001.sig>


More information about the fedora-list mailing list