Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

soft link

 
navat venu
Ranch Hand
Posts: 66
  • 0
  • 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
  • 0
  • 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