Go to the first, previous, next, last section, table of contents.
As mentioned above, parameters are named values with special meanings. Their values are only changed implicitly as the result of some other command, never explicitly. All parameters are named by single characters. The only place that parameters are accessible is in parameter substitution. The defined parameters are:
gethostname(2)
system call or equivalent.
This may contain a domain name part, so if just the host name is of
interest, it is wise to use
${::p}
to take the prefix if there is one.
getpwuid(geteuid())
getppid()
getpid()
cd
under
Builtins.
set.
Earlier shells considered digits and the characters '*' and '' to be parameters. This shell treats them as special cases of variable substitutions, as mentioned below.
Go to the first, previous, next, last section, table of contents.