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