executar comando linux php

PHP
shell_exec('mkdir teste')
Source

Also in PHP: