This question already has an answer here:
- How to copy symbolic links? 9 answers
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.
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
I created the link using the command:
ln -s 'target_file' 'symbolic_link'