aspose file tools
The moose likes Linux / UNIX and the fly likes soft link Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "soft link " Watch "soft link " New topic

soft link

navat venu
Ranch Hand

Joined: May 14, 2006
Posts: 66
Hi all,

How to create a soft link (link file)from one directory pointing to other directory in UNIX?

-------------------- <br />SCJP 1.4<br />SCWCD 1.4<br />SCBCD 5(in progress)<br /> <br />"Do, what you think that you cannot do"
Gerardo Tasistro
Ranch Hand

Joined: Feb 08, 2005
Posts: 362
You mean a symbolic link?

ln command:
ln [-fhinsv] source_file [target_file]


ln -s source_file [target_file]

-s Create a symbolic link.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: soft link
jQuery in Action, 3rd edition