I am a highly skilled and experienced administrator with a strong background in both Windows and Linux systems. I have a deep understanding of network infrastructure, security, and system administration, and am able to effectively troubleshoot and resolve a wide range of technical issues. I am also well-versed in various scripting languages, including PowerShell and Bash, and am able to automate repetitive tasks and improve system efficiency.

Full width home advertisement

Post Page Advertisement [Top]

 

                                Wipe Drive Permanently:

                                 =================

 

1. Connect drive in system running on Linux. (You can install it in virtual machines as well)

 

2. Open terminal, login as root (superuser) and run below commands to know the name of your drive which you want to wipe (erase).

# lsblk

OR

# fdisk -l

 

3. Now run any of these commands to wipe the data.

 

(a) Deletes data from every block once:

# dd if=/dev/zero of=/dev/sdb

 

(b) Deletes data from every block four times:

# badblocks -ws /dev/sdb

 

Where sdb is your drive which you want to wipe. Replace this name with your drive (e.g. sdb, sdc, sdd, sde). This name may be different as per your drives in the system, so please check the name first by using below commands:

# lsblk

or

# fdisk -l


No comments:

Post a Comment

Bottom Ad [Post Page]