Update README.md

This commit is contained in:
onceupon 2017-03-29 17:49:41 +08:00 committed by GitHub
parent 24f05d05cd
commit 743db35c52

View File

@ -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. &nbsp $0 :name of shell or shell script.
$1, $2, $3, ... :positional parameters. &nbsp $1, $2, $3, ... :positional parameters.
$# :number of positional parameters. &nbsp $# :number of positional parameters.
$? :most recent foreground pipeline exit status. &nbsp $? :most recent foreground pipeline exit status.
$- :current options set for the shell. &nbsp $- :current options set for the shell.
$$ :pid of the current shell (not subshell). &nbsp $$ :pid of the current shell (not subshell).
$! :is the PID of the most recent background command. &nbsp $! :is the PID of the most recent background command.
## System ## System