hi,
My company gave me a laptop for work and after some time they will give it to another person when I quit the company so I want to make sure I don’t leave any of my data behind so which command should I run to delete my home directory to delete all the data?
is it just
rm -rf /home/myname
If you use
shred
instead of rm to delete a file, the contents should be unrecoverable for all practical intents and purposes.I don’t believe
shred
can work recursively on a directory structure, like rm, so you’ll have to cobble something together with thefind
command I guess.