Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
source /etc/profile[RISOLTO]
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)
View previous topic :: View next topic  
Author Message
102376
l33t
l33t


Joined: 19 Mar 2005
Posts: 608

PostPosted: Sat Aug 13, 2005 1:04 pm    Post subject: source /etc/profile[RISOLTO] Reply with quote

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


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Sat Aug 13, 2005 1:17 pm    Post subject: Reply with quote

potresti modificare questo. ~/.bashrc
cmq è un'argomento trattato moltissime volte, se dai un'occhio nel forum trovi tutto.
Back to top
View user's profile Send private message
102376
l33t
l33t


Joined: 19 Mar 2005
Posts: 608

PostPosted: Sat Aug 13, 2005 1:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Aug 13, 2005 5:02 pm    Post subject: Reply with quote

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


Joined: 19 Mar 2005
Posts: 608

PostPosted: Sat Aug 13, 2005 9:19 pm    Post subject: Reply with quote

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 :wink:


ho copiato da li pensavo di fare prima !!!
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Aug 14, 2005 11:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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