I know you can open terminal and run a command, but what happens when you sudo and have to verify the password? Does it just popup so you can enter the password and then go on its merry way?
I believe there is a way to get terminal to change lines of text without having you manually select them with pico, is this correct? Ive seen people use "sudo perl" to automate the whole kext process which seems to replace certain strings by typing something like: 's/0x11111/0x22222/g'
CODE
Tell Application "Terminal"
Activate
do script "sudo perl -pi -e 's/xx/xx/g' /system/etc"
end tell
Activate
do script "sudo perl -pi -e 's/xx/xx/g' /system/etc"
end tell
Would that edit kexts? Im mostly confused about the perl commands, Ive only seen it in certain threads, I havent actually been able to use it with my hardware.