title: Xcode - Passing Bash Commands With A Jailbroken Device
body: <p>I'd like to know how it would be possible to execute bash commands on a jailbroken iOS device with Xcode? I'm not bothered about the code signing process because I already have a developer account.</p>
  
  <p>I've tried using these 2 commands:</p>
  
  <pre><code>system("cd /var/mobile/Documents");
  system("mkdir myNewFolder");
  </code></pre>
  
  <p>But Xcode returns "Cannot create directory, permission denied".</p>
  
  <p>I know for definite that this is possible. Basically, I want to be using commands such as dpkg and apt commands.</p>
  
  <p>Thanks in advance,
  Declan</p>