title: Creating a symbolic link in a bash script in a different folder
body: <p>My bash script is getting two arguments with folders (that exist and everything).</p>
  
  <p>Inside the first one I want to create a link to the second</p>
  
  <p>Suppose I have the folders /home/matt/a and /home/matt/b, I call the script like this :</p>
  
  <pre><code>/home/matt # ./my_script ./a ./b
  </code></pre>
  
  <p>I want to see a symbolic link inside a that points to b</p>
  
  <p>And of course, just doing</p>
  
  <pre><code>ln -s $2 $1/link
  </code></pre>
  
  <p>in the script does not work... (it will create a link that looks for a ./b inside a)</p>
  
  <p>This is just a very simple example, I am looking for a script that will be generic enough to take different arguments (absolute or relative path...etc...)</p>