第一种方式

function hello

{

echo "hello"

}

 

第二种方式

hello()

{

echo "hello"

}

调用函数

命令行:hello

相关文章: