How to create a soft link on another directory?
In my current directory, I have got a file named "file1" and a directory named "dir1". I would like to create a soft link pointing to file1 in dir1.
I use this
ln -s ./file1 ./dir1/file1
Then in my dir1 directory, I do a ls -l but then i saw it is pointing to ./file1 and not ../file1