输入./param.sh hello world 复制代码 代码如下: [firefox@fire Shell]$ ./param.sh hello world path of script : ./param.sh name of script : param.sh parameter 1 : hello parameter 2 : world parameter 3 : parameter 4 : parameter 5 : The number of arguments passed : 2 Show all arguments : hello world Process ID : 5181 errors : 0