Совет дня:



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



$DESKTOP_SESSION
current display manager

$EDITOR preferred text editor.

$LANG current language.

$PATH list of directories to search for executable files

$PWD current directory

$SHELL current shell

$USER current username

$HOSTNAME current hostname



В посте с советом https://t.me/gitgate/59 была еще одна хитрая, редко используемая, но полезная переменная $HISTFILE . ;)



#tips #bash