User:Akannus

From ICO wiki
Revision as of 21:59, 16 May 2011 by Akannus (talk | contribs)
Jump to navigationJump to search
#!/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