folder
And the link is working ??
Ln -s filex dir1/filex-sym
It creats a symlink in dir1
But It still showing me that the link is broken in dir1
cd dir1 && ln -s ../filex filex-sym or just ln -s ../filex dir1/filex-sym or ln -s $PWD/filex $PWD/dir1/filex-sym should works.
Because the second command create a link to a file/dir named filex in the dir dir1, and you don't have that file/dir.
Обсуждают сегодня