symlink confusion

Bruce Labitt bruce.labitt at myfairpoint.net
Sat Nov 14 12:30:15 EST 2015


Confused about this, so I'd like to ask, before I mess things up.  I am 
attempting to follow the instructions on
http://askubuntu.com/questions/693145/installing-cuda-7-5-toolkit-on-ubuntu-15-10

I'd like to create a symbolic link from cc (which is a symlink) to 
/opt/compiler_cuda/gcc

|cc -> /opt/compiler_cuda/gcc

|So the command should be:  sudo ln -s cc /opt/compiler_cuda/gcc ?  Or 
reverse the arguments?

Sorry about this primitive question, sometimes I get confused about the 
order.  As I have found online, the description is
ln -s /path/to/file path/to/symlink.  However, this still confuses me.  
Which is which in my example?

Can someone enlighten me?  TIA.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/pipermail/gnhlug-discuss/attachments/20151114/b7c31d29/attachment.html 


More information about the gnhlug-discuss mailing list