Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions tutorials/learnshell.org/en/Special Variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ Tutorial
In last tutorial about shell function, you use "$1" represent the first argument passed to function_A. Moreover, here are some special variables in shell:


* `$0` - The filename of the current script.|
* `$n` - The Nth argument passed to script was invoked or function was called.|
* `$#` - The number of argument passed to script or function.|
* `$@` - All arguments passed to script or function.|
* `$*` - All arguments passed to script or function.|
* `$?` - The exit status of the last command executed.|
* `$$` - The process ID 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` - The filename of the current script.
* `$n` - The Nth argument passed to script was invoked or function was called.
* `$#` - The number of argument passed to script or function.
* `$@` - All arguments passed to script or function.
* `$*` - All arguments passed to script or function.
* `$?` - The exit status of the last command executed.
* `$$` - The process ID 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.


### Example:
Expand Down
16 changes: 8 additions & 8 deletions tutorials/learnshell.org/tr/Special Variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ Tutorial
In last tutorial about shell function, you use "$1" represent the first argument passed to function_A. Moreover, here are some special variables in shell:


* `$0` - The filename of the current script.|
* `$n` - The Nth argument passed to script was invoked or function was called.|
* `$#` - The number of argument passed to script or function.|
* `$@` - All arguments passed to script or function.|
* `$*` - All arguments passed to script or function.|
* `$?` - The exit status of the last command executed.|
* `$$` - The process ID 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` - The filename of the current script.
* `$n` - The Nth argument passed to script was invoked or function was called.
* `$#` - The number of argument passed to script or function.
* `$@` - All arguments passed to script or function.
* `$*` - All arguments passed to script or function.
* `$?` - The exit status of the last command executed.
* `$$` - The process ID 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.


### Example:
Expand Down