mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-26 06:17:01 +00:00
Update README.md
This commit is contained in:
parent
24f05d05cd
commit
743db35c52
14
README.md
14
README.md
@ -1328,13 +1328,13 @@ cat file|rev | cut -d/ -f1 | rev
|
|||||||
```
|
```
|
||||||
|
|
||||||
##### some handy environment variables
|
##### some handy environment variables
|
||||||
$0 :name of shell or shell script.  
|
$0 :name of shell or shell script.
|
||||||
$1, $2, $3, ... :positional parameters.  
|
$1, $2, $3, ... :positional parameters.
|
||||||
$# :number of positional parameters.  
|
$# :number of positional parameters.
|
||||||
$? :most recent foreground pipeline exit status.  
|
$? :most recent foreground pipeline exit status.
|
||||||
$- :current options set for the shell.  
|
$- :current options set for the shell.
|
||||||
$$ :pid of the current shell (not subshell).  
|
$$ :pid of the current shell (not subshell).
|
||||||
$! :is the PID of the most recent background command.  
|
$! :is the PID of the most recent background command.
|
||||||
|
|
||||||
|
|
||||||
## System
|
## System
|
||||||
|
Loading…
Reference in New Issue
Block a user