UPTO 50% OFF on All Courses | Offer Ends at Midnight | Use Coupon Code - FLAT50 During Checkout |

 Enroll Now

Linux Basics

14 / 87

Delete a file

To delete a file you can use 'rm' command. To delete the directory you have to have "-r" switch with rm command.

Question- Delete the directory z/y/x created in the previous question


rm -r z/y/x