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 12:31 PM Bruce Labitt <bruce.lab...@myfairpoint.net> wrote: > 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. > _______________________________________________ > gnhlug-discuss mailing list > gnhlug-discuss@mail.gnhlug.org > http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/ >
_______________________________________________ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/