0

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'
SILVIYA
  • 31

0 Answers0