Linux-bash脚本1

脚本1:

# vi test.sh

-------------------------

# !/bin/bash

echo $1,$2,$3

echo "文件名" $0

echo "参数变量 "$#

echo "all "$*

echo "return "$?
-------------------------

# bash test.sh 1 2 3

 

posted @ 2022-04-05 19:01  狒狒桑  阅读(29)  评论(0)    收藏  举报