Extremely dangerous commands on Windows, Linux, Mac, don't try even once
Below, Tipsmake will list the most dangerous commands on Windows, Linux, and Mac operating systems (macOS). These commands have a high "damage" so you should consider before using them and absolutely do not use them for destructive purposes.
List of dangerous commands on Windows
- '@ echo off delete %systemdrive%*. * / F / s' : This is the command used to restore the old blue screen of death (BSOD) of Windows. For this to work, the commands must be stored in a text file with the .BAT extension line by line as follows:
@echo off del %systemdrive%*.*/f/s
- 'rd / s / q / C:' : This is the sentence used to delete all data in the specified drive, in this case drive "C:"
- Delete Registry Editor : To delete Registry Editor you need to create a .BAT file with the following lines:
@ECHO OFF START reg delete HKC/.EXE START reg delete HKCR.dll START reg delete HKCR/*
- "del c:windowssystem32*.*/q" : This is the command to delete the system32 directory. Surely you understand how important the system32 folder is to Windows. If you delete this folder your Windows will no longer be able to access it.
- Causes Windows to crash permanently :
@echo off attrib -r -s -h c:autoexec.bat del c:autoexec.bat attrib -r -s -h c:boot.ini del c:boot.ini attrib -r -s -h c:ntldr del c:ntldr attrib -r -s -h c:windowswin.ini del c:windowswin.ini
Dangerous Commands on Linux and Mac
- 'mkfs.ext4 /dev /sda' : This command is used to format a drive with the EXT4 file system
- "rm -RF /" : This is one of the most dangerous commands because it causes your computer to erase all information
- 'mv / / dev / null ': This command transfers all system data to a virtual device that does not exist. Therefore, data will be completely lost
- ': () {: |: &} ;:' : This command creates an infinite function that calls itself multiple times causing an overflow that forces the user to restart the device
- 'shred /dev/sda' : This command not only erases the data, but also destroys the information by overwriting it dozens of times to make the data unrecoverable
Above is a list of extremely dangerous commands on Windows, Linux and Mac. You should not try these commands even once. TipsMake.com will not be responsible if your computer has problems!
3.9 ★ | 17 Vote
You should read it
- How to Run Linux Commands on Windows with WSL 2
- Guide to network operation for Linux users: 11 commands to know
- Summary of DOS commands in MS-DOS
- 15 Tar commands should try in Linux
- Top 10 examples of Netstat commands on Linux
- 7 commands to manipulate the most basic files and folders everyone must know
- Useful commands in Unix / Linux
- How to run 2 or more Terminal commands at the same time on Linux
May be interested
- 7 commands to manipulate the most basic files and folders everyone must knowon windows or linux operating systems, there are a number of things that users can only do with commands. in the following article, the network administrator will introduce you to the 7 most basic commands that any user must 'understand' to perform operations faster.
- Kali Linux commands from AZ and commonly used commandscombining kali linux commands from az comes with some commonly used kali linux commands that make it easy to work with this operating system.
- How to run 2 or more Terminal commands at the same time on Linuxif you use linux, you probably know how to use useful commands to work with files, install software and launch programs. however, one thing you don't know is that you can still run multiple commands at the same time.
- Basic Linux commands everyone needs to know - Operations on Linux are much fasterwhen using linux, you should also learn basic linux commands to perform operations more quickly and easily. below are some basic linux commands you should know.
- 10 most useful Linux commandsfor those who are new to linux, administration will face many difficulties. here are the 10 most useful linux commands that make your administration a lot easier.
- Summary of the common Run CMD commandsinstead of performing manual and direct access operations on windows, we can replace existing cmd commands for faster access.
- How to schedule Linux commands with 'at'utility at very easy to use. users only need to give time and date as command line parameters, then enter one or more commands to execute.
- Linux Error SUDO allows you to run commands as roota flaw in the sudo linux command has been discovered, which may allow non-privileged users to execute commands as root.
- 20+ essential Linux security commandshere are some of the most important security commands for everyday work on linux systems. if you're interested in security issues on your linux system, don't ignore these helpful security commands.
- Basic utilities: print, email in Unixby this chapter, you have a few basic insights about unix systems and some of its basic commands. this chapter will briefly discuss some of the basic but important utilities of unix utilities that you will use in your daily activities.