γενική ερώτηση

Frixos Kopsachilis tachyon at otenet.gr
Sun Nov 9 23:37:37 EET 2003


At 05:20 ìì 9/11/2003, Thanos wrote:
>Ðïëëá ðñïãñáììáôá, åêôåëïõíôáé áðï ìéá êïíóïëá äéíïíôáò ð.÷. "mozilla" Þ 
>"./mozilla". Êáðïéá äïõëåõïõí ìïíï ìå ôï ðñùôï êáé áëëá ìïíï ìå ôï äåõôåñï.
>
>Ìçðùò èá ìðïñïõóå êáðïéïò/á íá ìïõ åîçãçóåé ôé óçìáéíïõí ïëá áõôá êáé áí 
>õðáñ÷åé äéáöïñá óôï íá ôñå÷åéò åíá ðñïãñáììá ìå Þ ÷ùñéò ôï "./";
>
>Åõ÷áñéóôù!

to shell (o diermhneas entolwn) psaxnei gia ektelesima sta directories pou 
orizontai apo thn metablhth perivallontos PATH.
otan eisai se ena directory pou den einai mesa se ayta pou dhlwnontai sto 
PATH kai thes na trekseis ena programma/script apo ekei, tha prepei na 
dhlwseis sto shell oti to arxeio vrisketai sto trexon directory. 
(symbolizetai me thn teleia [.]). opote, an eisai sto /home/mozilla, kai 
ayto den einai sto PATH, (kai fysika to mozilla binary den einai se kanena 
ek twn /bin /usr/bin klp) tha prepei na dhlwseis oti thes na trekseis to 
mozilla pou einai sto [.] (=/home/mozilla) dld, [./mozilla 
(=/home/mozilla/mozilla)]

se oles tis alles periptwseis, aplws dineis to onoma tou ektelesimou kai to 
shell to vriskei sto path kai to ektelei.
an de thes na grafeis [./] synexeia, vres to arxeio me tis rythmiseis tou 
shell gia to xrhsth sou kai dwse
export PATH=.:$PATH (gia to BASH)
setenv PATH=.:$PATH (gia to CSH)

oi palaioteroi as me diorthwsoun an pareleipsa h pareksigisa kati

Frixos "I/We/Gaia" Kopsachilis





More information about the Migrate2linux mailing list