linux bash shell cheat sheet Os command injection defense cheat sheet  cheatsheets-headerjpg  for  examples, see escapeshellarg() or escapeshellcmd() in php.