AI Features

Declaration Mechanism: Special Parameters

Learn how to operate special parameters.

We'll cover the following...

Special parameters

Bash declares special parameters and assigns values to them. It handles them the same way as it does shell variables.

Special parameters pass information from the shell to the launched application, and vice versa. A positional parameter is an example of this kind of Bash variable.

Special parameters

The following table shows frequently used special parameters.

Name Value
...