rm rm -rf code example
Example 1: rm -rf /*
#Do not execute this if you don't want that your PC get destroyed
Example 2: rm -rf
#The rm -rf command is one of the fastest way to delete a folder and its contents.
#rm -r command deletes the folder recursively, even the empty folder.
#rm -f command removes 'Read only File' without asking.
#rm -rf / : Force deletion of everything in root directory