登錄測試服務器 來一個 引導說明

clear
echo "hello MR"
echo -e "nginx config save: \033[31m/etc/nginx/conf.d/\033[0m"
echo -e "web code pls save path: \033[31m/www/web/\033[0m"
echo -e "nginx restart:	\033[31mservice nginx restart \033[0m"
echo -e "php restart:	\033[31mservice php-fpm restart \033[0m"
echo -e "redis restart:	\033[31mservice redis restart \033[0m"
echo "thanks"
read -p "only key continue"

vim /etc/profile 加入以上代碼。讓開發人員用起 爽不爽。php

相關文章
相關標籤/搜索