multiply.ksh
来自「Solaris环境下Shell编程编程」· KSH 代码 · 共 17 行
KSH
17 行
#!/bin/ksh# Purpose: To assign an integer to a variable and multiple the integer# by itself.## Name: multiply.kshinteger numnum=8printprint "The number is: $num"(( result = num * num ))print "The number multiplied by itself is: $result"print
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?