how to get command blocks in minecraft pe?
Command Blocks can only be obtained by using Commands. They are not available in the Creative Inventory, and cannot be obtained naturally in Survival Mode. The command used is /give @p command_block .