Javatpoint Logo
Javatpoint Logo

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




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA