Horje
what does the dollar sign mean in bash Code Example
what does the dollar sign mean in bash
$1, $2, $3, ... are the positional parameters.
"$@"  is an array-like construct of all positional parameters, {$1, $2, $3 ...}.
"$*"  is the IFS expansion of all positional parameters, $1 $2 $3 ....
$#    is the number of positional parameters.
$-    current options set for the shell.
$$    pid of the current shell (not subshell).
$_    most recent parameter (or the abs path of the command to start the current shell immediately after startup).
$IFS  is the (input) field separator.
$?    is the most recent foreground pipeline exit status.
$!    is the PID of the most recent background command.
$0    is the name of the shell or shell script.




Shell

Related
npm install on Termux Code Example npm install on Termux Code Example
An error occurred while installing capybara-webkit (1.15.1), and Bundler cannot continue. Code Example An error occurred while installing capybara-webkit (1.15.1), and Bundler cannot continue. Code Example
upgrade armbian Code Example upgrade armbian Code Example
github/hacksofteare Code Example github/hacksofteare Code Example
ubuntu change to thunar Code Example ubuntu change to thunar Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11