View Single Post
Captwheeto's Avatar
Posts: 302 | Thanked: 193 times | Joined on Oct 2008 @ England
#10
Bwaahaaha.

Anyway, that would delete the directory + everything in it (if it was rm -r).
If you wanted to keep the folder but delete the contents you'd do

rm -r /home/user/MyDocs/*

But why make it easy for them to get your super secret volcano hideout? (Ps. I know where it is)

#!/bin/bash
for ((a=0;a<3;a++))
dd if=/dev/zero of=/home/user/MyDocs
done
 

The Following User Says Thank You to Captwheeto For This Useful Post: