shell特殊变量
来源:互联网 发布:csi网络犯罪调查第一季 编辑:程序博客网 时间:2024/05/08 08:38
变量 描述 $0The filename of the current script.$nThese variables correspond to the arguments with which a script was invoked. Here n is a positive decimal number corresponding to the position of an argument (the first argument is $1, the second argument is $2, and so on).$#The number of arguments supplied to a script.$*All the arguments are double quoted. If a script receives two arguments, $* is equivalent to $1 $2.$@All the arguments are individually double quoted. If a script receives two arguments, $@ is equivalent to $1 $2.$?The exit status of the last command executed.$$The process number of the current shell. For shell scripts, this is the process ID under which they are executing.$!The process number of the last background command.
0 0
- shell变量---特殊变量
- shell特殊变量\shell函数特殊变量
- shell特殊变量
- shell 特殊变量
- shell 特殊变量
- Shell中的特殊变量
- shell 特殊变量
- shell 特殊变量
- shell特殊变量
- shell 特殊变量
- linux特殊shell变量
- shell特殊变量
- shell特殊变量
- shell 特殊变量 整理
- Linux shell特殊变量
- Linux Shell 特殊变量
- [shell]特殊变量汇总
- shell 特殊变量
- EEA算法
- Java反射机制学习笔记
- Zapcc:一个更快的C++编译器
- C++中新的关键字
- 排序(二)非比较排序
- shell特殊变量
- 算法 - 动态规划(通过金矿模型介绍动态规划)
- 递归求二项式系数值
- gcc升级后更新libstdc++.so.6动态库
- 三星公司uboot模式下更改分区(EMMC)大小fdisk命令
- POJ-3020-Antenna Placement
- 二叉树路径-lintcode
- BZOJ4723——[POI2017]Flappy Bird
- 编译和调试CUDA程序