Home » Linux rm -r

Linux rm -r

With rm ‘-r’ option, you can delete a directory having sub directories inside it. So you don’t need to delete sub-directories manually.

Syntax:

Example:

Linux rm -r

Look at above example, we have deleted directory sandy having multiple sub-directories.

Next TopicLinux rm -i

You may also like