Shell-Umgebung · Frage 9 von 12
Im Heimatverzeichnis gibt es ~/.bash_profile und ~/.profile. Welche davon liest eine Login-Shell?
1 Antwort ist richtig. Mittel Mit KI erstellt
Lösung anzeigen
Lösung
- B Nur ~/.bash_profile, die erste gefundene Datei
Erklärung
Die bash sucht der Reihe nach ~/.bash_profile, ~/.bash_login und ~/.profile und liest nur die erste vorhandene. ~/.profile bleibt hier unbeachtet.