This is the command that I ran in a sudoed terminal:
dd if=/dev/zero of=/dev/sd* bs=512 count=32
These are the sd* using lsblk:
sda 8:0 0 238.5G 0 disk
├─sda1 8:1 0 600M 0 part /boot/efi
├─sda2 8:2 0 3G 0 part
├─sda3 8:3 0 227.2G 0 part /
└─sda4 8:4 0 7.8G 0 part [SWAP]
sdb 8:16 1 29.5G 0 disk
└─sdb1 8:17 1 29.5G 0 part /media/adminn/STRONTIUM
I have not restarted the system yet. Is there a way I can recover the lost/corrupted data?
ls -l /dev/sd*?