Meaningless Drivel is fun!
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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.
I agree. Here's the link:
subject: soft link
It's not a secret anymore!