shell_exec — Execute command via shell and return the complete output as a string;
<?php$output = shell_exec('ls -lart');echo "<pre>$output</pre>";?>
shell_exec('locale -a | grep -i utf')