View previous topic :: View next topic |
Author |
Message |
cloc3 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/39525275142a0fd302dc7e.gif)
Joined: 13 Jan 2004 Posts: 4810 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Thu Jan 10, 2008 5:01 pm Post subject: [su] e su - |
|
|
ho scoperto che da qualche giorno, il comando su - non esegue più il file .bashrc
è un comportamento corretto, dovuto a qualche scelta specifica degli sviluppatori o una cosa di cui ci si dovrebbe lamentare su bugzilla?
p.s. : baselayout-1.12.10-r5 _________________ vu vu vu
gentù
mi piaci tu |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lucapost Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/17095691174866151fd78ae.gif)
Joined: 24 Nov 2005 Posts: 1419 Location: <ud|me|ts> - Italy
|
Posted: Thu Jan 10, 2008 7:25 pm Post subject: |
|
|
nel ~/.bash_profile richiami in qualche modo source ~/.bashrc? _________________ LP |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cloc3 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/39525275142a0fd302dc7e.gif)
Joined: 13 Jan 2004 Posts: 4810 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Thu Jan 10, 2008 7:45 pm Post subject: |
|
|
lucapost wrote: | nel ~/.bash_profile richiami in qualche modo source ~/.bashrc? |
Code: |
s939 ~ # ls ~/.bash_profile
ls: impossibile accedere a /root/.bash_profile: No such file or directory
s939 ~ #
|
che è sta novità? .bash_profile non lo avevo proprio mai usato. non ce l'ho nemmeno come utente normale.
man bash wrote: |
/etc/profile
The systemwide initialization file, executed for login shells
~/.bash_profile
The personal initialization file, executed for login shells
~/.bashrc
The individual per-interactive-shell startup file
|
ecco. ho cercato .bash_profile e ho trovato questo.
però vorrei capire: cosa significa per-interactive-shell e perché la shell è considerata per-interactive-shell solo in caso di accesso senza il segno meno?
fosse stato sempre così, mi andrebbe anche bene, ma considerato che a me sembra una novità, sono curioso di capire se c'è stato un motivo per creare questa distinzione. _________________ vu vu vu
gentù
mi piaci tu |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|