Skip to content

Instantly share code, notes, and snippets.

@udnisap
Last active November 27, 2016 16:38
Show Gist options
  • Save udnisap/d82f40b3066af5e3f22a763d5ce317c8 to your computer and use it in GitHub Desktop.
Save udnisap/d82f40b3066af5e3f22a763d5ce317c8 to your computer and use it in GitHub Desktop.
Format a Hard disk with DD
# To Display disk mapping
lsblk
# Erase the disk with random strings
dd if=/dev/urandom of=/dev/null status=progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment