I have a problem to writing a shell script to create a soft link in some other directory
For eg:
/opt/Shreedhar/Naik is directory
now i need to write shell script in the path /opt/Shreedhar/Naik which should create a soft link in /opt/Shreedhar.
I have tried to write the script by using the command: ln -s ivperl /opt/Shreedhar/perl/5.6.1 but its creating the link in the same folder. But i need to create the link in on-step back folder ie: /opt/Shreedhar my script location is /opt/Shreedhar/Naik
But i need to create this link only when the link is not exists in /opt/Shreedhar if the link is already exists the script should not create the link and even should not give any error message. Is there any way to check whether the link is exists or not. Like -e for file check ....