[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
HAHAH Guys I fucked up I ran "rm /*" on our Debian
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 6
Thread images: 1
File: 1441995326040.jpg (171 KB, 500x463) Image search: [Google]
1441995326040.jpg
171 KB, 500x463
HAHAH
Guys I fucked up
I ran "rm /*" on our Debian production server. Now it can't find anything in the usr/bin/ directory.

NOTE that it was not rm -rf /, it was explicitly rm /*. I'm thinking it didn't devastate everything since all the files not in the root directory are there, but for some reason it won't take any of my commands aside from echo and cd. What did it break, exactly? Am I just missing symlinks? If I pop in a Debian CD, can I just reinstall the core files and drive into the sunset?

Halp
>>
>running as root
>running rf command explicitly with root directory
>running as root on production server and this moronic

Yeah not buying it. Nice troll thread though.
>>
As an update, all the files in /usr/bin are still there (I can see them with echo *), so I think it might've nuked a symlink. Any idea what I need to recreate to fix this?
>>
>>55180093
I wish it were a troll. Fat-fingered the ./*. Shit happens. There's nothing super-vital on there anyway, as it's just a failover system and there's backups, but I'd like to un-fuck it without resetting the whole thing.
>>
>>55180035
I bet your rm is aliased for -rf
>>
>>55181098
It's not. Weirdly enough ls is in /bin/, but it won't let me execute it. My $PATH looks fine too.
Thread replies: 6
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.