All gists

LittleGreenCat
Last active 2 months ago

Немного полезных встроенных переменных bash

0 0 1
1 $DESKTOP_SESSION # current display manager
2 $EDITOR # preferred text editor.
3 $LANG # current language.
4 $PATH # list of directories to search for executable files
5 $PWD # current directory
6 $SHELL # current shell
7 $USER # current username
8 $HOSTNAME # current hostname
9 $HISTFILE # указывает на файл, который содержит данные истории команд вашей командной оболочки