mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-23 08:46:36 +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
|
||||
$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 New Issue
Block a user