<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 11/14/2015 12:36 PM, Kyle Smith
wrote:<br>
</div>
<blockquote
cite="mid:CAB3WsnV0=LvfXCPV8M68Tvbe78E5uSdPvm2DTojjPDontLW7kg@mail.gmail.com"
type="cite">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's helps to remember, too, the reason for the order is that the
second option isn'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
<<a moz-do-not-send="true"
href="mailto:bruce.labitt@myfairpoint.net">bruce.labitt@myfairpoint.net</a>>
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'd like to ask, before I mess things up. I am attempting
to follow the instructions on <br>
<a moz-do-not-send="true"
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'd like to create a symbolic link from cc (which is a
symlink) to /opt/compiler_cuda/gcc<br>
<br>
<code>cc -> /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 moz-do-not-send="true"
href="mailto:gnhlug-discuss@mail.gnhlug.org" target="_blank">gnhlug-discuss@mail.gnhlug.org</a><br>
<a moz-do-not-send="true"
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>
</blockquote>
<br>
Pardon my denseness (density?), but what you have shown is still
confusing to me. <br>
<br>
ln -s thing-I-want-a-symlink-to where-I-want-to-put-it <-- I
don't understand this :(<br>
<br>
In my case, I want any reference to cc to point to
/opt/compiler_cuda/gcc. It turns out /opt/compiler_cuda/gcc will be
a symlink as well. Eventually the cc reference will end up pointing
to gcc-4.9, since CUDA7.5 does not support gcc5.<br>
<br>
Is it<br>
1) ln -s cc /opt/compiler_cuda/gcc or<br>
2) ln -s /opt/compiler_cuda/gcc cc<br>
<br>
Which one does what I want? Seriously confused.<br>
<br>
</body>
</html>