{"id":1244,"date":"2022-11-04T18:22:41","date_gmt":"2022-11-04T18:22:41","guid":{"rendered":"https:\/\/jamj.org\/?p=1244"},"modified":"2022-11-04T18:22:41","modified_gmt":"2022-11-04T18:22:41","slug":"gnu-shred","status":"publish","type":"post","link":"https:\/\/jamj.org\/index.php\/2022\/11\/04\/gnu-shred\/","title":{"rendered":"GNU &#8211; Shred"},"content":{"rendered":"\n<p>Have you ever wanted to delete &#8220;permanently&#8221; a file from your file system?. Well, you can do it with this command: <strong>shred<\/strong> . First, a litle about how a file system works. Simply put, the system keeps a table with references to each file. When you delete a file what really happens is that the operating system removes the reference to the file from the table of references, but the data is still there, so is possible to recover the data. If you really want to delete a file you can use <strong>shred<\/strong>. This utility overwrite with random data the file so its unrecoverable. Example: (the u option deletes the file after overwriting)<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><code>shred -u filename<\/code><\/p><\/blockquote>\n\n\n\n<p>As always, see the documentation for more options and use cases.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever wanted to delete &#8220;permanently&#8221; a file from your file system?. Well, you can do it with this command: shred . First, a litle about how a file system works. Simply put, the system keeps a table with references to each file. When you delete a file what really happens is that the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1244","post","type-post","status-publish","format-standard","hentry","category-gnu"],"_links":{"self":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/posts\/1244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/comments?post=1244"}],"version-history":[{"count":0,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/posts\/1244\/revisions"}],"wp:attachment":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/media?parent=1244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/categories?post=1244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/tags?post=1244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}