Make a file unrecoverable
You have a file "test".The following command makes it so no one can read it.If the file was 12 bytes, it's now 4096 after it has been over written 100 times. There's no way to recover this.
$ shred -n 100 -z test
Want to remove the file? Use the "u" option.
$ shred -n 100 -z -u test
It can be applied to a device also
For more pls visit
Free DevOps eBooks, Videos, and more!
Regardless of where you are in your DevOps process, Linux Journal can help!
- Linux Journal
- Users, Permissions and Multitenant Sites
- New Products
- Flexible Access Control with Squid Proxy
- Security in Three Ds: Detect, Decide and Deny
- DevOps: Everything You Need to Know
- High-Availability Storage with HA-LVM
- Tighten Up SSH
- Solving ODEs on Linux
- Non-Linux FOSS: MenuMeters
- March 2015 Issue of Linux Journal: System Administration