Unix-like systems, including Linux, generally /usr/lib
would be a directory which already existed when you tried to create a symlink. So if both /usr/lib
and the library .so
file to which the command:
sudo ln -s /opt/python2.6/lib/libpython2.6.so.1.0 /usr/lib
refers existed prior to command execution, then the actual name of the symlink created would be:
The other command you executed to create the other symlink would have a similar effect, if the target ( the final command parameter ) is a directory, the link is created in that directory.