Extremely dangerous commands on Windows, Linux, Mac, don't try even once
There are commands that are used to provide certain features to the operating system. However, if used improperly, they cause danger and damage the operating system.
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
- Summary of the common Run CMD commands
- 5 Linux commands every sysadmin needs to know
- 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
- How to run Linux commands when starting Windows Subsystem for Linux on Windows 10
- What is CMD Commands in Windows
Maybe you are interested
5 Ways to View Deleted Posts on Reddit
6 Data Collecting Apps You Need to Delete for Better Privacy
How to Recover Deleted Contacts on iPhone - If you accidentally delete contacts....
Cannot Delete Volume drive D, what is the reason?
How to delete white space in a table in Word - Appears right below the data
How to delete Comment and Section Break in Word 2013, 2010, 2007, 2003