title: How to execute a command line in iPhone?
body: <p>I would like to execute a command line in iPhone iOS with Xcode objective C project, I used <code>system()</code> function but it won't work!</p>
  
  <p>I installed <code>ssh</code> on my jailbreak iPhone and checked that application, 
  and I write this code in the application which I making </p>
  
  <pre><code>system('id &gt; /tmp/id');
  </code></pre>
  
  <p>After installing and executing the software there is no file in <code>/tmp/id</code>. </p>
  
  <p>How I can fix this? There isn't any problem if help me in Swift too, I just want to execute a command line.</p>