📜  bash 终端函数显示所有参数 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:44.239000             🧑  作者: Mango

代码示例1
# print all arguments:

 #!/bin/bash 
echo $@

# If you intend to do something with your arguments within a script:

#!/bin/bash 
for i; do 
  echo $i 
done