Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating Symbolic Link

Status
Not open for further replies.

teky

Programmer
Mar 24, 2000
55
US
Hello Everybody,

I am trying to create a Symbolic Link from on one of the directories in /opt/bea/weblogic/.
My directory name in this directory is sun and the symbolic link I need is for /opt/bea/sol1/application23sep.

Can anybody explain how we can create the symbolic link.

Thanks in advance,
Teky.


 
Here is the syntax for creating a soft link:
ln -s <directory or file you want the link to point to> <name of the link>.

For eg. if i wanted to have a link called 'java' to point to /usr/j2sdk1.2/bin/java created in the '/usr/bin' directory, I would issue the following command in the '/usr/bin/java' directory:

/usr/bin/:unix prompt:> ln -s /usr/j2sdk1.2/bin/java java

This will create a link called java in the /usr/bin directory. So, when someone types in /usr/bin/java, they are actually invoking /usr/j2sdk1.2/bin/java

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top