I like to remember it as:<br><br>ln -s thing-I-want-a-symlink-to where-I-want-to-put-it<br><br>It&#39;s helps to remember, too, the reason for the order is that the second option isn&#39;t required. It will put a symlink with the same base name in your current working directory without it.<br><div class="gmail_quote"><div dir="ltr">On Sat, Nov 14, 2015 at 12:31 PM Bruce Labitt &lt;<a href="mailto:bruce.labitt@myfairpoint.net">bruce.labitt@myfairpoint.net</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Confused about this, so I&#39;d like to ask, before I mess things up.  I
    am attempting to follow the instructions on <br>
<a href="http://askubuntu.com/questions/693145/installing-cuda-7-5-toolkit-on-ubuntu-15-10" target="_blank">http://askubuntu.com/questions/693145/installing-cuda-7-5-toolkit-on-ubuntu-15-10</a><br>
    <br>
    I&#39;d like to create a symbolic link from cc (which is a symlink) to
    /opt/compiler_cuda/gcc<br>
    <br>
    <code>cc -&gt; /opt/compiler_cuda/gcc<br>
      <br>
    </code>So the command should be:  sudo ln -s cc
    /opt/compiler_cuda/gcc ?  Or reverse the arguments?<br>
    <br>
    Sorry about this primitive question, sometimes I get confused about
    the order.  As I have found online, the description is<br>
    <tt>ln -s /path/to/file path/to/symlink</tt>.  However, this still
    confuses me.  Which is which in my example?<br>
    <br>
    Can someone enlighten me?  TIA.<br>
  </div>

_______________________________________________<br>
gnhlug-discuss mailing list<br>
<a href="mailto:gnhlug-discuss@mail.gnhlug.org" target="_blank">gnhlug-discuss@mail.gnhlug.org</a><br>
<a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" rel="noreferrer" target="_blank">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a><br>
</blockquote></div>