简体   繁体   English

rm -rf /* 立即关闭 Linux AWS

[英]Linux AWS immediately down by rm -rf /*

I was working to delete a single file.我正在努力删除单个文件。

I accidentally typed /* and all files are gone.我不小心输入了/*并且所有文件都消失了。 It's okay since I have my backups but the main problem is that I'm not able to login into aws ec2 instance .没关系,因为我有备份,但主要问题是我无法登录aws ec2 instance Can anyone help me out?谁能帮我吗?

You won't be able to login into the instance because you tore it down with that command.您将无法登录实例,因为您使用该命令将其拆除。 You should login to the EC2 dashboard (or use the aws-console) and terminate the instance and / or start a new one from the image backup you may have.您应该登录 EC2 仪表板(或使用 aws-console)并终止实例和/或从您可能拥有的映像备份开始一个新实例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM