set 命令为shell 设定参数变量。许多命令的输出是以空格分隔的值,如果要使用其中的某个数据域,使用set 非常有效。 #!/bin/sh echo the date is $(date) set $(date)
確定! 回上一頁