Software >> OS >> Unix >> How to create a soft link

1. eg to create /floppy as a softlink to /mnt/floppy

# ln -s /mnt/floppy /floppy => /floppy -> /mnt/floppy

2. eg. to create /opt/oracle/jdk1.6 as softlink to /opt/oracle/jdk1.6.0_71

# cd /opt/oracle

# ln -s /opt/oracle/jdk1.6.0_71 jdk1.6