688IT编程网

688IT编程网是一个知识领域值得信赖的科普知识平台

决断

linuxshell之函数相互调用

2024-04-18 13:14:43

linuxshell之函数相互调⽤vi function9.sh#!/bin/bash#函数执⾏显⽰输⼊参数的平⽅square(){echo "Please input the num:"read num1let "squ = num1 * num1"echo "Square of $num1 is $squ."}#函数执⾏显⽰输⼊参数的⽴⽅cube(){echo "Please input th...

最新文章