I just ran:
dd if=/dev/zero of=/swapfile bs=1024 count=8388608
And pressed ctrl+c in the middle of it. Got output:
742213+0 records in
742213+0 records out
760026112 bytes (760 MB) copied, 9.10778 s, 83.4 MB/s
There are not many beginner-friendly documentations out there for dd command, so even though I know what dd does, i don't know what it would do in this case:
/swapfile partition doesn't exist by default
/dev/zero is not a real partition (or at least I don't know what it really is...)
Can someone tell me what exactly happened here or how can I undo this?