How to create update or delete symbolic or soft link

Synopsis

In our project our Java process picks latest version of package for executing, which is a UNIX soft link. So whenever we do a release we just need to

Statistics

  • Total Hits - 35096

  • Total Votes - 103 votes

  • Vote Up - 44 votes

  • Vote Down - 59 votes

  • Domain - javarevisited.blogspot.com

  • Category - Linux/Basic Concepts

  • Submitted By - Javin Paul

  • Submitted on - 2011-07-03 05:59:30

Description

• Unix Soft links are pointers to programs, files, or directories located elsewhere (just like Windows shortcuts)
• If the original program, file, or directory is renamed, moved, or deleted, the soft link is broken and it will show in red color if you using ls -lrt --color option.
• If you type ls -F you can see which files are UNIX soft links because they end with @
• To create a soft link called "current" that points to a file or directory called "new_package", use this: ln -s new_package latest to remember this command always remember that name of soft link comes as last argument.

Source Website

Please use the following link to visit the site. There is a possibility that this content has been removed from the given URL or may be this site has been shut down completely.

http://javarevisited.blogspot.com/2011/04/symbolic-link-or-symlink-in-unix-linux.html

Broken  |   Save  |   Liked  |   Down

Advertisements