loading...
Cover image for Becoming Homeless

Becoming Homeless

ketiko profile image Ryan Hansen ・1 min read

The other day at work I was doing something and accidentally made a folder named tilde.

ls
~ bin lib spec

Oops, well I guess I should remove that.

$ rm -r ~
rm: remove write-protected regular file .ssh/config?

Wait… what?! Oh crap, did that just delete my home directory?

$ ls ~
total 0
drwxr-xr-x 17 user group  544 Apr  18 11:45 .
drwxr-xr-x 27 user group  864 Apr  18 10:18 ..

Lucky I have rdiff-backup run weekly. I changed that to daily.

Note to self, run rm -r ./~ next time.

Man what a day.

Discussion

markdown guide
 

This made me laugh so hard, and also reminisce about the time I accedentaly created a / file 🤣.

 

...so today I was finally convinced to make backups

 

Man, this is so true... I almost felt my self running the commands as a sort of deja vu.