赵家小少爷 2020-06-08
了解:echo -e "\033[32mPlease select Menu follow:\033[0m"其中的\033[32m...\033[0m表示输出内容的显示颜色。可以使用\033[Xm,其中X代表颜色代码。可用颜色参考:https://misc.flogisoft.com/bash/tip_colors_and_formatting
[ shell]# cat MSelect.sh #!/bin/bash # by authors tanbaobao 2020/06/08 echo -e "\033[32mPlease select Menu follow:\033[1m" echo "1)安装Apache服务" echo "2)安装MySQL服务" echo "3)安装PHP服务" echo "4)配置LAMP WEB架构"
<?php. if (!empty($_POST)) {. $data1 = $_POST["data1"];$data2 = $_POST["data2"];$fuhao = $_POST["fuh
test-f /etc/resolv.conf &&echo"File /etc/resolv.conf found."||echo"File /etc/resolv.conf not found."