|
|
|
|
Strumenti |
17-11-2004, 16:29 | #1 |
Senior Member
Iscritto dal: Oct 2003
Città: Turin
Messaggi: 746
|
$PATH
per aggiungere alla variabile $PATH un percorso ho usato il comanto
Codice:
export PATH=$PATH:/percorso/ come faccio ad aggiungere il path in maniere definitiva ? potrei aggiungerlo in rc.local e farlo eseguire al boot... ma di sicuro esiste una soluzione + "pulita" !
__________________
LiNUX User: 371384 "Bort_83 @ jabber.linux.it" LaKRiKKADiBoRT_SeTi@HoMe_GRouP .:: Vendo Cerchioni in lega peugeot 205 GT, 309 GT, 405, 106 Rally + Pirelli P600 185/55R16 ::. |
17-11-2004, 16:33 | #2 |
Senior Member
Iscritto dal: Nov 2002
Città: Morbegno (SO)
Messaggi: 1410
|
mettilo in /etc/profile se lo vuoi system-wide
~/.bash_profile ~/.bash_login ~/.profile per il solo utente naturalmente se hai bash. lo / finale puoi anche toglierlo
__________________
e' difficile cio' che non si conosce Tic Tac Andrew Morton, 15/02/2008 LKML:"`tmp' is an awful identifier, and renaming it to `temp' hardly improves it." |
17-11-2004, 16:33 | #3 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
/etc/bashrc (se vuoi l'impostazione per tutti gli utenti)
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
17-11-2004, 16:35 | #4 | |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Quote:
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
|
17-11-2004, 16:36 | #5 |
Senior Member
Iscritto dal: Nov 2002
Città: Morbegno (SO)
Messaggi: 1410
|
a quanto ne so
/etc/bashrc non e proprio da manuale, e cmq con bashrc lo rieseguirebbe ogni volta anche se non ce ne bisogno, o sbaglio?
__________________
e' difficile cio' che non si conosce Tic Tac Andrew Morton, 15/02/2008 LKML:"`tmp' is an awful identifier, and renaming it to `temp' hardly improves it." |
17-11-2004, 16:39 | #6 |
Senior Member
Iscritto dal: Oct 2003
Città: Turin
Messaggi: 746
|
una roba del genere ?
Codice:
# System-wide .bashrc file for interactive bash(1) shells. shopt -s checkwinsize export PATH=$PATH:/mio_path/ # enable bash completion in interactive shells #if [ "$PS1" -a -f /etc/bash_completion ]; then # . /etc/bash_completion #fi
__________________
LiNUX User: 371384 "Bort_83 @ jabber.linux.it" LaKRiKKADiBoRT_SeTi@HoMe_GRouP .:: Vendo Cerchioni in lega peugeot 205 GT, 309 GT, 405, 106 Rally + Pirelli P600 185/55R16 ::. |
17-11-2004, 16:40 | #7 | |
Senior Member
Iscritto dal: Nov 2002
Città: Morbegno (SO)
Messaggi: 1410
|
Quote:
provo a vedere
__________________
e' difficile cio' che non si conosce Tic Tac Andrew Morton, 15/02/2008 LKML:"`tmp' is an awful identifier, and renaming it to `temp' hardly improves it." |
|
17-11-2004, 16:41 | #8 | |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Quote:
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
|
17-11-2004, 16:50 | #9 |
Senior Member
Iscritto dal: Nov 2002
Città: Morbegno (SO)
Messaggi: 1410
|
sono lustri che non usavo la mail di ngi, mai voluto notifiche, quindi dimenticato la pwd
ora cambiato la mail nel profile, sorry
__________________
e' difficile cio' che non si conosce Tic Tac Andrew Morton, 15/02/2008 LKML:"`tmp' is an awful identifier, and renaming it to `temp' hardly improves it." |
17-11-2004, 17:12 | #10 |
Senior Member
Iscritto dal: Oct 2003
Città: Turin
Messaggi: 746
|
OT
OT o sbaglio signor Mod ?
:P cmq io ho inserito come postato precenentemente ma nn mi pare funzioni.... help
__________________
LiNUX User: 371384 "Bort_83 @ jabber.linux.it" LaKRiKKADiBoRT_SeTi@HoMe_GRouP .:: Vendo Cerchioni in lega peugeot 205 GT, 309 GT, 405, 106 Rally + Pirelli P600 185/55R16 ::. |
17-11-2004, 17:14 | #11 | ||
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Re: OT
Quote:
Quote:
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
||
17-11-2004, 17:50 | #12 |
Senior Member
Iscritto dal: Nov 2002
Città: Morbegno (SO)
Messaggi: 1410
|
dovrebbe andare anche /etc/bashrc, sempre che sia richiamato da ~/.bashrc, visto che la bash di suo non la richiama, a meno che sia una feature non documentata.
se lo metti in profile prova a far partire la shell con -l PS grazie per il topic per me e ilsensine
__________________
e' difficile cio' che non si conosce Tic Tac Andrew Morton, 15/02/2008 LKML:"`tmp' is an awful identifier, and renaming it to `temp' hardly improves it." |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 20:42.