Use the exec to run several commands. Be careful not to exec any of the user input though, as it can critically compromise your server.
Most of them shared servers block off the exec function that might be the reason you're not able to use it.
Finally, as a shorthand, you can wrap your command you want to exec in backticks.
Want to be a Linux expert? Come and join this Linux course
Do check out the video below