This question already has an answer here:

I want to create a symbolic link which will not break even after copying the entire directory( which includes the link and its target) in a pendrive/sd-card and using the pendrive/sd-card in other system.

For ex:

 S70pppd-dns -> ../init.d/pppd-dns  
 S77hello_init -> /home/silviya/package/rootfs/etc/init.d/hello_init  

Here, the link for hello_init is created by me, other one is there by default. How can I create the symbolic link as shown below ??
S70hello_init -> ../init.d/hello_init

NOTE:
I created the link using the command:

ln -s 'target_file' 'symbolic_link'

marked as duplicate by MariusMatutiae linux Feb 25 '16 at 14:31

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.