📄 echo-params-2.sh
字号:
#!/bin/sh
echo 'The script name: $0'
echo 'The first parameter: $1'
echo 'The second parameter: $2'
echo 'The third parameter: $3'
echo 'The fourth parameter: $4'
echo 'The fifth parameter: $5'
echo 'The sixth parameter: $6'
echo 'The seventh parameter: $7'
echo 'The eighth parameter: $8'
echo 'The nineth parameter: $9'
echo 'The number of arguments passed: $#'
echo 'The whole parameters string: $*'
echo 'My process ID: $$'
echo 'The whole parameters string with every parameter quoted in quot: ''$@'
echo 'Exit status code: $?'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -