Shred

From Notes_Wiki
Revision as of 00:55, 13 September 2013 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Security_tools|Security tools</yambe:breadcrumb> =shred= ==Writing zeros to a file== If there is a need to write all zeros to a file then one can use <pre> ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Security_tools|Security tools</yambe:breadcrumb>

shred

Writing zeros to a file

If there is a need to write all zeros to a file then one can use

 
   shred -n 1 -z <file-name>

Note that 'dd if=/dev/zero of=<file>' wont work as it wont end. So dd would have to be limited using bs, count, etc mechanisms.