DEV Community

Cover image for Becoming Homeless
Ryan Hansen
Ryan Hansen

Posted on

1 2

Becoming Homeless

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.

Top comments (3)

Collapse
 
l04db4l4nc3r profile image
Angad Sharma β€’

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

Collapse
 
spongechameleon profile image
spongechameleon β€’ β€’ Edited

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

Collapse
 
dporr profile image
Diego Porras β€’

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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay