How to ruin your computer or VM with one easy command usable for all systems: sudo rm -rf /*20/6/2022 READ THIS FIRST before you go stupid and run this on your computer.If you run this command, it will DELETE ALL FILES ON YOUR COMPUTER, SYSTEM FILES AND WORD DOCUMENTS ALIKE. If you are using a Virtual Machine (VM) though, you don't have to worry. It will simply crash your VM, doing no harm otherwise to the computer itself. First, let's run this. Create a folder somewhere, named testcrash, and add some files and folders into it. Next, open the terminal.
You should see something like this: Now we can execute our killer command: sudo rm -rf . There is a space at the end. Do not add the /* at the end, it will RUIN YOUR COMPUTER. Then type the location of your folder or drag the folder to the terminal shell. For me, it is: cd /Users/luchang/Desktop/testcrash. Then, press Enter. It will ask you for your password. Let's look back at our testcrash folder. Where is it? Well, it's missing. We deleted it.
So what happened? Let's tear it up one by one. sudo means you are giving your computer administrating power. You can find out by executing sudo --help. It tells you: sudo - execute a command as another user. What about rm? It removes the folder. -rf tells the rm to forcedly remove the folder and all of it's contents. The final argument is the directory. If you execute sudo rm -rf /*, it looks into /*, which is your computer, and deletes all your computer files. Next time, we will look at recovering your password.
0 Comments
Do you know what Hello, World! is?
Hello, World! is the typical first program to test everything is set up correctly and working. I'll see you later!
Meanwhile, you can try out two Hello, World! programs (one in Python, one in MarioLANG) yourself. ​What do you want me to post? Put your ideas down in the comments section! |