User:Akannus: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Akannus (talk | contribs)
Created page with '#!/bin/bash #Alfi Kannus #Versioon 0.1 #Töötas Mac OS -is #Küsib mis soovite kataloogi nimeks panna read -p "Kataloogi nimi, mida soovite PATHi sisestada" PATHi echo " " ex…'
 
Akannus (talk | contribs)
No edit summary
Line 1: Line 1:
<source lang="bash">
#!/bin/bash
#!/bin/bash
#Alfi Kannus
#Alfi Kannus
Line 13: Line 14:
var="/usr/:$PATHi"
var="/usr/:$PATHi"
echo $var >> /etc/paths
echo $var >> /etc/paths
</source>

Revision as of 21:59, 16 May 2011

#!/bin/bash
#Alfi Kannus
#Versioon 0.1
#Töötas Mac OS -is

 #Küsib mis soovite kataloogi nimeks panna

read -p "Kataloogi nimi, mida soovite PATHi sisestada" PATHi
echo " "
export PATH=/usr/:$PATHi:$PATH 
 
#Kirjutab PATH kausta ka sisestatud uue kataloogi
var="/usr/:$PATHi"
echo $var >> /etc/paths