View previous topic :: View next topic |
Author |
Message |
102376 l33t
Joined: 19 Mar 2005 Posts: 608
|
Posted: Sat Aug 13, 2005 1:04 pm Post subject: source /etc/profile[RISOLTO] |
|
|
ciao ho un problema:
sono su root ho modificato il file /etc/profile aggiungendo il man colorato e il bash_profile,
ma devo digitare ogni volta Code: | source /etc/profile |
quando apro una nuova console e riavvio il pc??
come faccio a risolvere?
Last edited by 102376 on Sat Aug 13, 2005 1:44 pm; edited 1 time in total |
|
Back to top |
|
|
Ic3M4n Advocate
Joined: 02 Nov 2004 Posts: 3489 Location: Bergamo.
|
Posted: Sat Aug 13, 2005 1:17 pm Post subject: |
|
|
potresti modificare questo. ~/.bashrc
cmq è un'argomento trattato moltissime volte, se dai un'occhio nel forum trovi tutto. |
|
Back to top |
|
|
102376 l33t
Joined: 19 Mar 2005 Posts: 608
|
Posted: Sat Aug 13, 2005 1:46 pm Post subject: |
|
|
ok perfetto ho risolto
ho dovuto creare .bash_profile
e dentro quel file ho inserito
Code: | if [-f ~/.bashrc ];then
source ~/.bashrc
fi |
e poi ho inserito le modifiche che avevo in et/profile in .bashrc |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sat Aug 13, 2005 5:02 pm Post subject: |
|
|
solo un piccolo appunto:
non dovresti mai modificare /etc/profile, ma fare le modifiche ai file di configurazione personali di ogni utente.
è una soluzione formalmente più corretta, e non rischi che al primo aggiornamento le tue modifiche vadano distrutte |
|
Back to top |
|
|
102376 l33t
Joined: 19 Mar 2005 Posts: 608
|
Posted: Sat Aug 13, 2005 9:19 pm Post subject: |
|
|
nel tip https://forums.gentoo.org/viewtopic.php?t=74292:
gutter wrote: | fedeliallalinea wrote: | Io metto la riga in /etc/profile |
@Giepi: Almeno così la setti pet tutti e ti togli il pensiero |
ho copiato da li pensavo di fare prima !!! |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Aug 14, 2005 11:03 am Post subject: |
|
|
zocram wrote: |
ho copiato da li pensavo di fare prima !!! |
Se avessi letto con attenzione, avresti notato che era necessario settare il tuo .bash_profile (o il .bashrc) _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
|