I was creating a
sym-link for practice in Ubuntu 14.04. I meant to use this command:
ln -s ../fun dir1/fun-sym
It was taken from a book I am using. Except I used
sim at the end by mistake. So the last was
/fun-sim. The command was accepted and it seemed to make 2 links. I also put in the correct command. Using
it did show both as being links. They lines look the same except for the sim and sym.
lrwxrwxrwx 1 julios julios 3 Aug 27 12:58 fun-sim -> fun
lrwxrwxrwx 1 julios julios 3 Aug 27 13:11 fun-sym -> fun.
Using this command
it showed one number difference in the inode, 684226 & 684227. I am learning and lost but it caught my attention when it seemed to create a link. I thought there would have been an error message of some kind. No idea how to test it. I tried
and got this response:
No manual entry for sim.
That seems to be the answer for no such command. I got the same response for
please. No problem was caused. What caught my attention was that it worked at all when it should have failed. Maybe one of the ways programming errors happen, typos. Anyway, it was interesting to me but I am just trying to find my way around the command line.