View previous topic :: View next topic |
Author |
Message |
GentooXindi Tux's lil' helper
Joined: 10 Jun 2004 Posts: 134 Location: Vienna / Austria
|
Posted: Mon Jun 28, 2004 8:36 am Post subject: Konsole zeigt nie Pfad an? |
|
|
Hallo,
immer wenn ich meine Konsole starte, bekomme ich anstatt des Namens und Pfades, also zB markus@linux pfad> nur die Anzeige bash-2.05b$. Erst nachdem ich source /etc/profile (was genau macht dieser befehl eigentlich?) eingetippt habe, funktioniert die Konsole so, wie sie sollte. Warum ist das so, und was kann ich tun, damit gleich beim Konsolenstart der richtige Pfad mit Namen angezeigt wird? |
|
Back to top |
|
|
cruxnor Tux's lil' helper
Joined: 12 Mar 2004 Posts: 133
|
Posted: Mon Jun 28, 2004 8:54 am Post subject: |
|
|
Hi,
Erstelle, falls noch nicht vorhanden, folgende Datei: ~./.bashrc
und trage folgendes ein:
Code: |
if [ -f /etc/profile ]
then
source /etc/profile
fi
|
Vorausgesetzt du verwendest die Bash.
ciau, cruxnor |
|
Back to top |
|
|
ralph Advocate
Joined: 02 Mar 2003 Posts: 2001 Location: Hamburg
|
Posted: Mon Jun 28, 2004 8:59 am Post subject: |
|
|
Falls du die kde Konsole meinst, dann musst du die mit konsole -ls starten. _________________ The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa |
|
Back to top |
|
|
GentooXindi Tux's lil' helper
Joined: 10 Jun 2004 Posts: 134 Location: Vienna / Austria
|
Posted: Mon Jun 28, 2004 11:59 am Post subject: |
|
|
Hab die Zeilen in die bashrc eingetragen und es hat geklappt. Dankesehr. |
|
Back to top |
|
|
|