Closed. This question is off-topic。它当前不接受答案。
                            
                        
                    
                
                            
                                
                
                        
                            
                        
                    
                        
                            想改善这个问题吗? Update the question,所以它是on-topic,用于堆栈溢出。
                        
                        2年前关闭。
                                                                                            
                
        
我不小心删除了以下符号链接:

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


我该如何恢复呢?
问候,

最佳答案

如果删除符号链接,则原始文件未更改,可以通过ln -s还原符号链接:

ln -s /path/to/original/ /path/to/link

关于linux - 如何恢复已删除的Cpanel符号链接(symbolic link),我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/44865175/

10-12 16:26