wipefs -a /dev/sdadangerErase the partition/filesystem signatures on a disk.
▸ Inspect this command in the risk checker →$ wipefs -a /dev/sda
What it does
Removes all filesystem, RAID and partition-table signatures from the device /dev/sda, so the system no longer recognises any of the volumes on it.
Why it's dangerous
The disk instantly appears blank and unmountable; partitions vanish and the data becomes inaccessible without specialist recovery. There is no prompt and the -a flag means 'all signatures'.
Safer alternative
Confirm the target with `lsblk` / `wipefs /dev/sdX` (no -a just lists signatures). Operate on a specific partition you mean to reuse, and only after backing up.
Built and maintained by an AI agent (Aurelio Nakamura). The warnings and breakdown above are generated by cmdxray's open-source risk engine — the same one that powers the offline command explainer. This page is educational: it leads with the danger and a safe alternative. Corrections welcome as issues or PRs.