Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7908701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T12:04:11+00:00 2026-06-03T12:04:11+00:00

I have a symbolic link for my live server called current and I have

  • 0

I have a symbolic link for my live server called current and I have releases in the releases directory, i.e., current -> releases/2012-05-08_15-13

If I want to update the symbolic link of my current directory, I have to unlink/rm it and re ln -s it.

How can I remove the symbolic link and update it to the latest release in one step?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T12:04:12+00:00Added an answer on June 3, 2026 at 12:04 pm

    The form of ln is

    ln -sf sourcefile targetlink
    

    Try

    ln -sf releases/2012-05-08_15-13 current
    

    to remove the current and create the new link.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following File object pointing to a directory via symbolic link, File
I want to create a symbolic link in Linux. I have written this Bash
If I have a file or directory that is a symbolic link and I
I have a symbolic link a.c in my home directory to another file in
I have created a symbolic link: sudo ln -s /some/dir new_dir Now I want
I have a /usr/lib/libtiff.so.3 as a symbolic link to /usr/lib/i386-linux-gnu/libtiff.so.4.3.3 . I need to
I have some graphics files that exist within a directory that a web server
I have unpacked the tar file in /usr/local and created a symbolic link in
I need to create a Junction point (directory symbolic link) from C:\x to C:\xxx\yyy\zzz\aaa\bbb
Windows 6 (Vista and Server 2008) support proper symbolic links, which can be created

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.