Create OSX Pen Drive bootable

Formating MacBook with Pen Drive OSX:

After you download MacOSX (Mavericks)

$ sudo "/Applications/Install OS X Mavericks.app/Contents/Resources/createinstallmedia" --volume /Volumes/[PEN-DRIVE] --applicationpath "/Applications/Install OS X Mavericks.app"