Wednesday, June 27, 2012

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.


0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.