image/svg+xml
Was geschieht beim Start von Bash:
1.) Loginshell
TTY login: nutzername/passwordSSH login: nutzername/password$ bash --login
source /etc/profile
source $HOME/.profile
2.) Start als Programm
Terminal$ bash#!/bin/bash
source /etc/bash.bashrc
source $HOME/.bashrc
/etc/bash.bashrc
$HOME/.bashrc
/etc/bash.d/*
optional:
Wenn /etc/bash.profile oderbash.login existiert,wird profile ignoriert.
Wenn $HOME/bash.profile oderbash.login existiert,wird profile ignoriert.
$HOME/.bash_history $HOME/.inputrc
optional:
3.) Beim Beenden(exit oder shutdown)
$HOME/.bash_logout/etc/bash-bash.logout
optional: