How to create update or delete symbolic or soft link

Tutorials Shared by the Internet Community

Advertisements


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 - 17314

  • Total Votes - 99 votes

  • Vote Up - 42 votes

  • Vote Down - 57 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. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements