Skip to content
Search

Bash:InternalVariables

lastmod 2024-07-27created 2020-10-064 edits

Internal variables of Bash (Internal variables)

List of internal variables

$BASHPID, $$
Process ID of the current Bash instance.
This is not the same as the $$ variable, but it often gives the same result.
$IFS
Input field separator
$COLUMNS
Width of the terminal window. When called from a script, the variable sometimes isn't printed. So use tput (tput cols) instead.

See also

Favorite site

author Zer0 sitemap