shell位置参数及特殊变量
来源:互联网 发布:不是小偷就是程序员 编辑:程序博客网 时间:2024/05/29 12:02
内置参数:
内置参数指shell脚本命令行参数,同时也表示shell函数内的函数参数。
$0shell或shell脚本的名字$1 - $9第i个位置参数${10}第10个位置参数,大于9需要用{}$#位置参数的个数$*所有位置参数,整体作为单个字符串$@所有位置参数,每个作为独立的字符串另外:
$? 前一命令的退出状态
$$ shell进程编号
0 0
- shell位置参数及特殊变量
- shell 位置变量和特殊变量参数
- shell位置参数和特殊变量
- shell常用的位置参数和特殊变量
- Shell脚本学习-位置参数和特殊变量
- shell中位置变量参数
- Bash shell中的位置参数$#,$*,$@,$0,$1,$2...及特殊参数$?,$-等的含义
- Bash shell中的位置参数$#,$*,$@,$0,$1,$2...及特殊参数$?,$-等的含义
- Bash shell中的位置参数$#,$*,$@,$0,$1,$2...及特殊参数$?,$-等的含义
- Bash shell中的位置参数$#,$*,$@,$0,$1,$2...及特殊参数$?,$-等的含义
- Bash shell中的位置参数$#,$*,$@,$0,$1,$2...及特殊参数$?,$-等的含义
- Bash shell中的位置参数$#,$*,$@,$0,$1,$2...及特殊参数$?,$-等的含义
- Bash shell中的位置参数$#,$*,$@,$0,$1,$2...及特殊参数$?,$-等的含义
- [Linux]:Bash shell中的位置参数$#,$*,$@,$0,$1,$2...及特殊参数$?,$-等的含义
- Bash shell中的位置参数$#,$*,$@,$0,$1,$2...及特殊参数$?,$-等的含义
- Bash shell中的位置参数$#,$*,$@,$0,$1,$2...及特殊参数$?,$-等的含义
- Bash shell中的位置参数$#,$*,$@,$0,$1,$2...及特殊参数$?,$-等的含义
- Bash shell中的位置参数$#,$*,$@,$0,$1,$2...及特殊参数$?,$-等的含义
- Oracle executeBatch异常:ArrayIndexOutOfBoundsException
- linux学习笔记之三 第六章 知识点补充之目录树结构图
- nyoj 168 房间安排
- JAVA编程规则【转自java编程思想】
- 科普的不科普(读科普读物笔记)
- shell位置参数及特殊变量
- 【cocos2d-js官方文档】二十二、project.json
- 为毛小米手机不能进行adb 调试
- Linux C 学习日记(一)
- Android水平方向ListView的使用和注意点
- Android跑指定包Monkey脚本
- 使用MulticastSocket进行手机之间的多播消息发送
- SSH系类(三)struts国际化(I18N)
- java foreach 使用