system('sh', '-c', 'foo > file'); #### system('foo > file');