Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[su] e su -
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Thu Jan 10, 2008 5:01 pm    Post subject: [su] e su - Reply with quote

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
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Thu Jan 10, 2008 7:25 pm    Post subject: Reply with quote

nel ~/.bash_profile richiami in qualche modo source ~/.bashrc?
_________________
LP
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Thu Jan 10, 2008 7:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum