Re: symlink confusion

2015-11-14 Thread Jim McGinness
My mnemonic device is to remember that the first argument is what you want the symlink to *contain*; the second is the object you want to *create* and things won't work right if it already exists. -- jmcg On Sat, Nov 14, 2015 at 1:01 PM, Bruce Labitt wrote: > On

symlink confusion

2015-11-14 Thread Bruce Labitt
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 ->

Re: symlink confusion

2015-11-14 Thread Kyle Smith
I like to remember it as: ln -s thing-I-want-a-symlink-to where-I-want-to-put-it 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. On Sat, Nov 14, 2015 at

Re: symlink confusion

2015-11-14 Thread Bruce Labitt
On 11/14/2015 12:36 PM, Kyle Smith wrote: I like to remember it as: ln -s thing-I-want-a-symlink-to where-I-want-to-put-it 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

Re: symlink confusion

2015-11-14 Thread Joshua Judson Rosen
On 11/14/2015 04:29 PM, Bruce Labitt wrote: > > Original link: from > http://askubuntu.com/questions/693145/installing-cuda-7-5-toolkit-on-ubuntu-15-10 > > /I wanna share my experience on installing CUDA 7.5 (in order to use with > Theano) on Ubuntu 15.10. / > > // > > 1. > >/I

Re: symlink confusion

2015-11-14 Thread Ric Werme
> 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? Yeah, that's pretty poor wording. I gave up on it a long time

Re: symlink confusion

2015-11-14 Thread Joshua Judson Rosen
Bruce Labitt wrote: > >Pardon my denseness (density?), but what you have shown is still >confusing to me. > >ln -s thing-I-want-a-symlink-to where-I-want-to-put-it <-- I don't >understand this :( > >In my case, I want any reference to cc to point to

Re: symlink confusion

2015-11-14 Thread Bruce Labitt
On 11/14/2015 04:07 PM, Joshua Judson Rosen wrote: Bruce Labitt wrote: Pardon my denseness (density?), but what you have shown is still confusing to me. ln -s thing-I-want-a-symlink-to where-I-want-to-put-it <-- I don't understand this :( In my case, I want any

Re: symlink confusion

2015-11-14 Thread Joshua Judson Rosen
On 11/14/2015 04:27 PM, Ric Werme wrote: > >> 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? > > Yeah,