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

  • lurch (he/him)@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 months ago

    you can fill up the disk a few times after deleting files, so the system has to use up all free space and no matter where your data was it gets overwritten.