Get the App
SLTechnology News&Howtos  ›  Servers  › 

Some environment variable configuration files for Linux

Shulou Source: shulou.com Published: 2022-06-02 20:04:21 09月22日 Update

Environment variable profile in effect at logout

~ / .bash_logout

Command history file

~ / .bash_history

Welcome / warning message for local terminal

/ etc/issue

Welcome message for remote terminal:

/ etc/issue.net

The escape character cannot be used in the / etc/issue.net file. Whether or not to display this welcome message is decided by the ssh configuration file / etc/ssh/sshd_config. Add the "Banner / etc/issue.net" line to display.

Welcome message after login:

/ etc/motd

Whether you log in locally or remotely, you can display this welcome message

Tags: Information file login configuration terminal variable environment history command escape or Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MariaDB MySQL Shulou Information Linux