UNIX Cheat Sheet

Status of dd – obtain where dd is at within its operation:

  • OpenBSD
    pkill -INFO dd
  • Linux
    pkill -USR1 dd

Sanitisation of hard disks or other devices

  • OpenBSD
    dd if=/dev/arandom of=/dev/r#d#c bs=10k
  • Solaris – Further information can be found in my Hard Drive Sanitisation post
    dd if=/dev/urandom of=/dev/rdsk/c#t#d#s2 bs=10k
  • Linux
    dd if=/dev/urandom of=/dev/sd# bs=10k