Symbolic link does not work ( or is it me ) ?
Hi there.
I created a small text file and saved it as data.txt. I then proceeded to make a symbolic link to this file : Code:
$ ln -s data.txt data.sym Code:
cat: data.sym: No such file or directory I also done this : Code:
$ ln -s data.txt ~/temp/data.sym Thanks UC |
I'm not sure why the second one is having problems, but the problems with the first could be because you moved the symlink. It is looking for the file in the current directory, as you created it in the same directory as the file it references. When you moved it it's now looking for the original file in the directory you moved the symlink to.
|
All times are GMT -5. The time now is 07:11 AM. |