Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED How to restore a deleted script

Discussion in 'General Discussion' started by jsteremberg, Jul 1, 2017.

  1. jsteremberg

    jsteremberg Registered

    Joined:
    Jul 1, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Argentina
    cPanel Access Level:
    Root Administrator
    Hello, I accidentally removed the following symbolic link:

    rm: remove symbolic link `/scripts/restorepkg'? y

    How can I restore this?
    Regards,
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    718
    Likes Received:
    122
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Hello,

    Code:
    ln -s /usr/local/cpanel/bin/restorepkg /scripts/restorepkg
    will do the trick
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jsteremberg

    jsteremberg Registered

    Joined:
    Jul 1, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Argentina
    cPanel Access Level:
    Root Administrator
    You are a life saver. Own that :)
     
    Infopro likes this.
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,852
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see the earlier post was helpful. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice