centos7初始化bashshell脚本
#!/bin/bash
if [[ "$(whoami)" != "root" ]]; then
echo "请切换root用户 ." >&2
exit 1
fi
echo "适用CENTOS 7"
echo -e "
#!/bin/bash
if [[ "$(whoami)" != "root" ]]; then
echo "请切换root用户 ." >&2
exit 1
fi
echo "适用CENTOS 7"
echo -e "