#!/bin/bash echo "脚本的参数1为$1" echoColor(){ echo -e "\033[41;33m $1 \033[0m" } echoColor 好了吗?