title: how to find path from where current binary running?
body: <p>After somewhere searching finally not getting what i want.</p>
  
  <p>I am working on some embedded board with linux system. And many users access it by <code>telnet</code>.So each user suppose copy some binary somewhere and executed like <code>./binary</code>.So i can see this process running by simply <code>ps</code> command but from where it's running i don't know.</p>
  
  <p>somewhere found that, use <code>which</code> command but as per my understanding(if i am not wrong) <code>which</code> command find only path of that binary whether it's currently executing or not. </p>
  
  <p>And what if multiple users copied same binary in different path?</p>
  
  <p>Also looked another solution use <code>readlink</code> but limited <code>busybox binary</code> supported in my target board. So <code>readlink</code> is not there.</p>
  
  <p>One another solution like </p>
  
  <p><code>file /proc/"proess id"/exe</code> but here <code>file</code>  command not present because of custome linux in my board which contain only limited functionality and binary.</p>
  
  <p>So any other solution is there?</p>