Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我错误地创建了一个软链接:
/backup_rmbeir1 -> /backup_rmbeir1
我现在想删除软链接。如果我做 :
rm /backup_rmbeir1
这会删除链接还是实际文件?如果不是,实现这一目标的最佳方法是什么?我尝试了unlink命令但没有帮助。
unlink
软链接是/backup/backup_rmbeir1,所以删除rm /backup/backup_rmbeir1。
/backup/backup_rmbeir1
rm /backup/backup_rmbeir1