Linux运维
2447篇文章

keepalived安装配置

keepalived安装配置

1.安装前准备环境:Linux 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/L···

for小练习

for小练习

通过for循环打印5 4 3 2 1[root@shnne ~]# cat for1.sh #!/bin/shfor i in 5 4 3 2 1do echo $idone [root@shnne···

case小练习(case edu)

case小练习(case edu)

echo -e "\033[30m 黑色字 \033[0m" echo -e "\033[31m 红色字 \033[0m" echo -e "\033[32m 绿色字 \033[0m" echo···