Search

rm: cannot remove `temp': Is a directory

The command "rm" is used to remove or delete files. When it is used to delete a folder you might see this error
For example if we try to delete a directory named temp



This is because "rm" be default deletes only files and to be remove a directory we need to pass the option "-r" with the command i.e.


No comments:

Post a Comment