Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

soft link

 
navat venu
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

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

 
Gerardo Tasistro
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean a symbolic link?

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

example:

ln -s source_file [target_file]

-s Create a symbolic link.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic