写了一个脚本,自动化执行一系列操作,最后删除临时文件的时候忘了给自己加免死金牌。

2014 年 8 月 12 日
 MarioLuisGarcia
我真没想到它能把自己给删了。。。。。。。
这只 shell 脚本真狠
3095 次点击
所在节点    分享发现
8 条回复
whywhywhy
2014 年 8 月 12 日
del %0
akfish
2014 年 8 月 12 日
lz必然是把脚本压迫得太惨,以至于它厌世自杀了。
Tink
2014 年 8 月 12 日
之前在人人网上看到一个 rm -rf * .log
harryert
2014 年 8 月 12 日
@akfish 赞,我也这么觉得。
liuchen9586
2014 年 8 月 12 日
@Tink 某个软件的卸载事故?
orzfly
2014 年 8 月 12 日
https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/issues/123

> An extra space at line 351:
> rm -rf /usr /lib/nvidia-current/xorg/xorg
>
> causes the install.sh script to do an rm -rf on the /usr directory for people installing in ubuntu.
> Totally uncool dude!!! The script deletes everything under /usr. I just had to reinstall linux on my pc to recover.
Tink
2014 年 8 月 13 日
@liuchen9586 *和.log中间有一个空格
jemyzhang
2014 年 8 月 14 日
@orzfly 太赞了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/127499

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX