Enhance your Knowledge | Flat 25% Discount on all Courses | Use Coupon Code - ENHANCE25 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

Hint-

rm -r z/y/x