title: How to define pwd as a variable in Unix shell
body: <p>I tried the following but it didn't work.</p>
  
  <pre><code>dir=$pwd
  echo $dir
  
  /bin/env/####/ --id --edition dir- $dir
  </code></pre>
  
  <p>I want to paste the current working directory into the above script.</p>