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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Hello,

    Code:
    ln -s /usr/local/cpanel/bin/restorepkg /scripts/restorepkg
    will do the trick
     
  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:
    38,659
    Likes Received:
    1,428
    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.
     
Loading...

Share This Page