I have an issue with ln -s
on Ubuntu 14.04, while using it in the following scenario:
$ cd ~/programming/tmux/
$ ln -s tmux ~/bin/tmux
$ ls -l ~/bin/tmux
lrwxrwxrwx 1 USER USER 4 sie 31 11:02 /home/USER/bin/tmux -> tmux
Why is it like so? When I create it giving the absolute path everything works fine:
$ ln -s ~/programming/tmux/tmux ~/bin/tmux
$ ls -l ~/bin/tmux
lrwxrwxrwx 1 USER USER 4 sie 31 11:02 /home/USER/bin/tmux -> ~/programming/tmux/tmux
~
soln
never sees~
. And if it did, it wouldn't be able to make sense of it and it would fail with a file not found error. You can see this if you quote your link, ala '~/bin/tmux' – bsd Aug 31 '14 at 09:49