Стандартные имена переменных командного процессора и их использование.
BASH_VERSION
[tab]
Номер версии bash.
CDPATH
[tab]
[tab]
Список каталогов, разделённых двоеточиями, для поиска
[tab]
[tab]
в них каталогов, указанных как аргументы для «cd».
GLOBIGNORE
[tab]
Список шаблонов, разделённых двоеточиями и описывающих имена файлов,
[tab]
[tab]
которые будут игнорироваться при развёртывании пути.
HISTFILE
[tab]
[tab]
Имя файла, в котором хранится журнал команд.
HISTFILESIZE
[tab]
Число строк в файле журнала.
HISTSIZE
[tab]
[tab]
Число строк журнала, к которым может
[tab]
[tab]
получить доступ командный процессор.
HOME
[tab]
[tab]
Полный путь к вашему домашнему каталогу.
HOSTNAME
[tab]
[tab]
Имя данной системы.
HOSTTYPE
[tab]
[tab]
Тип процессора, на котором работает данная версия bash.
IGNOREEOF
[tab]
Управляет действием командного процессора при получении символа
[tab]
[tab]
символа конца файла в качестве единственных входных данных. Если задано, тогда значение
[tab]
[tab]
является числом символов EOF, которые могут быть
[tab]
[tab]
прочитаны подряд в пустой строке, после чего командный процессор будет закрыт
[tab]
[tab]
(по умолчанию
[nbsp]
— 10). Если не задано, EOF означает конец входных данных.
MACHTYPE
[tab]
[tab]
Строка с описанием текущей системы, в которой запущен bash.
MAILCHECK
[tab]
Как часто (в секундах) bash проверяет наличие новой почты.
MAILPATH
[tab]
[tab]
Список имён файлов, разделённых двоеточиями, в которых bash
[tab]
[tab]
ищет почту.
OSTYPE
[tab]
[tab]
Версия Unix, в которой запущена данная версия bash.
PATH
[tab]
[tab]
Список каталогов, разделённых двоеточиями, для поиска
[tab]
[tab]
выполняемых команд.
PROMPT_COMMAND
[tab]
Команда, выполняемая перед выводом каждого
[tab]
[tab]
основного приглашения.
PS1
[tab]
[tab]
Основная строка приглашения.
PS2
[tab]
[tab]
Дополнительная строка приглашения.
PWD
[tab]
[tab]
Полный путь до текущего каталога.
SHELLOPTS
[tab]
Список включённых параметров командного процессора, разделённых двоеточиями.
TERM
[tab]
[tab]
Название текущего типа терминала.
TIMEFORMAT
[tab]
Формат вывода данных о времени, показываемых
[tab]
[tab]
командой time.
auto_resume
[tab]
Непустое значение означает слово в строке запуска команды,
[tab]
[tab]
которое сначала ищется в списке
[tab]
[tab]
остановленных заданий. Если команда найдена, задание переводится в интерактивный режим.
[tab]
[tab]
Значение «exact» означает, что слово команды должно
[tab]
[tab]
точно совпадать с командой в списке остановленных заданий.
[tab]
[tab]
Значение «substring» означает, что слово команды
[tab]
[tab]
должно быть частью строки задания. Все другие значения означают,
[tab]
[tab]
что команда должна быть префиксом остановленного задания.
histchars
[tab]
Символы, управляющие расширением журнала
[tab]
[tab]
и быстрой подстановкой. Первый символ означает
[tab]
[tab]
подстановку журнала. Обычно это «!». Второй символ
[tab]
[tab]
означает «быструю подстановку». Обычно это «^».
[tab]
[tab]
Третий символ означает примечание журнала. Обычно это «#».
HISTIGNORE
[tab]
Список шаблонов, разделённых двоеточиями и описывающих команды,
[tab]
[tab]
которые должны быть сохранены в журнале.