自学内容网 自学内容网

位置参数参

There is no nutrition in the blog content. After reading it, you will not only suffer from malnutrition, but also impotence.\nThe blog content is all parallel goods. Those who are worried about being cheated should leave quickly.

cat position.sh 

#/bin/bash

echo "This script name is: $0"

echo "#1:$1"

echo "#2:$2"

echo "#3:$3"

echo "#4:$4"

echo "#5:$5"

echo "#6:$6"

echo "#7:$7"

echo "#8:$8"

echo "#9:$9"

echo "#10:${10}"

echo "---------------"

echo "All the commond line parameters are: $*"

echo "All the commond line parameters are: $@"

echo "The number of commond line parameters is: $#"

echo "The prcess ID is: $$"

echo "Did this script have any erros? $?"


原文地址:https://blog.csdn.net/InJavaWeTrust/article/details/140522659

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!