I gave the command as below and when i see it creates a broken link

ln -s '~/Documents/....../Mean/W_P.dat' fort.11 

The location I'm executing this file is different from the path of W_P.dat file.

marked as duplicate by Thomas Dickey, Rui F Ribeiro, Thomas, RalfFriedl, Kusalananda Jan 26 at 15:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Take the single quotes off, to let ~ be expanded. This is a duplicate. – Thomas Dickey Jan 26 at 15:05

Browse other questions tagged or ask your own question.