How can I execute command in the terminal as root? How can I get root permissions in a terminal?
Type su and your terminal prompt should change from $ to #. This is assuming that your device is already rooted.