How to execute shell (Terminal) commands in a Cocoa app?

I need a simple program in storyboard that can execute a command after pressing a button. Is this possible?