So before you delete a symbolic link, it is better to use ls -l command to review your permissions as well as check if it is a symbolic link. Also, remember that when you remove symlink the file that it points to does not get deleted. Else you will get “Operation Not Permitted” error. In order to be able to remove a symlink, you need to have write permission for the directory that contains symlink. How to Remove (Delete) Symbolic Links in Linux You can use these steps on almost every Linux distribution since these commands are available on all systems. In this article, we will look at how to remove symbolic links in Linux using rm, unlink and find commands. A symlink can point to another file or directory on same or different file partition. They are like shortcuts that allow you to refer to a file easily from another location. Symbolic links (known as symlinks) are special types of files that point to another file or directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |