[Ite-lnx-announce] Uppdatering login-sekvens bash / Upgrade of init sequence for bash

Thomas Johansson thomas.johansson at liu.se
Mon Apr 11 22:02:32 CEST 2022


ITE uppdaterade nyligen hanteringen hur bash initieras vid inloggning 
samt vid start av nya interaktiva sessioner som terminalfönster. Nu 
följer vi strikt linuxstandard. Vid inloggning läses, om den existerar, 
enbart filen $HOME/.bash_profile samt vid interaktiva skal läses enbart 
filen $HOME/.bashrc

Vill man bevara behålla sin funktion sen tidigare med $HOME/.bashrc 
löses det så här

   cd  ~
   ln  -s  .bashrc  .bash_profile



ITE recently upgraded the init sequence for bash during login and start 
of interactive sessions like terminal windows. We now strictly follow 
linux standard.  Upon login we read, if it exist, only the the file 
$HOME/.bash_profile and for interactive shells only $HOME/.bashrc

To preserve the function login and of existing $HOME/.bashrc it is 
easiest solved this way

   cd  ~
   ln  -s  .bashrc  .bash_profile



-----------------------------------------------------------------
Thomas Johansson, System Engineer
ITE
Linkoping University
SE-581 83 Linkoping, SWEDEN

e-mail: thomas.johansson at liu.se
Phone: +46 (0)13 282408
=================================================================


More information about the Ite-lnx-announce mailing list