?? 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 + -