Via a command block set and activate the command: "/gamerule commandBlockOutput false". Normally this gamerule will make it so commands are not displayed when activated via command blocks. However if you set another command block to have a gamerule command, (ex. /gamerule doFireTick true), the command will still that you set that command.
I can confirm this, but the description is a bit confusing. Do you mean "the command will still show" at the end?