Shell脚本$系列参数意义
来源:互联网 发布:ubuntu 启动过程 编辑:程序博客网 时间:2024/06/08 20:16
例如:
#!/bin/bashecho $0echo $1echo $2echo $3echo $*echo $#echo $$
运行及输出:
$ ./test.sh -arg1 -arg2 -arg3
./test.sh
-arg1
-arg2
-arg3
-arg1 -arg2 -arg3
3
4492
0 0
- Shell脚本$系列参数意义
- shell系列------循环解析脚本的参数
- shell 脚本 if 参数
- shell 脚本 if 参数
- shell脚本 if参数
- shell脚本文件参数
- shell脚本的参数
- Shell 脚本参数说明
- shell脚本文件参数
- shell脚本参数
- shell 脚本参数变量
- shell脚本参数
- 访问Shell脚本参数
- shell脚本参数
- shell 带参数脚本
- shell 脚本传入参数
- shell 脚本一些参数
- Shell脚本参数
- CodeForces 407A-Triangle【模拟】
- Android中,调用Email
- FireBreath -- Summary--方法 属性 Attributes 事件和js的交互等
- android中获取设备的型号和手机厂商
- Redis相关命令
- Shell脚本$系列参数意义
- 出现错误ActivityManager: Warning: Activity not started, its current task has been
- _USER_ERROR__missing_dlib_all_source_cpp_file__OR......
- PostgreSQL学习手册(函数和操作符<一>)
- Android样式的开发:drawable汇总篇
- Java eclipse 设置字体大小和默认UTF8 编码方式
- Spring RestTemplate结果中文乱码解决方案
- Redhat Linux安装Tomcat
- Linux Debian下安装tomcat7