How do you delete everything on Linux?

How do you delete everything on Linux?
Answer
1. rm -rf Command
  • rm command in Linux is used to delete files.
  • 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.
 

Tìm kiếm

Back
Top