Terminal Scripts

Kris

Registered
I've been looking for some simple Terminal scripts on the net, but I haven't found any particular useful (not yeat at least). Is there anyone here who could you post some example scripts or give me some links? I'm reading a book about the subject now, so what I need is not a tutorial, but simple scripts to learn from. :)


Kris
 
Howdy,
If you do happen to come acrost any good scripts let me know! I have been searching for a while now, but it hasn't been first on my things to do for a while now.
 
Hmm, you could take a look at the install script I use for TinyFugue. It should provide a fairly simple example for the beginner. It isn't really commented, but it does use echo fairly often in the script to let the user know what is going on.

If you have questions about basic SH scripting, don't hesitate to post.
 
Thank you all.

testuser: Your scripts was understandable but a bit over my level.
Krevinek: I will post some questions..soon. :)


Kris
 
No problem... I am not that much into SH scripting, although I can get around. For example, I have an 8600 that doesn't seem to like the new CD kexts Ryan Rempel released. So.... I wound up writing a small script that can authenticate, swap the kexts, and I even made an attempt to swap them without rebooting, but IOKit doesn't seem to unload drivers after a device is initialized, or load new drivers after a device is initialized. So... it just tells me to reboot when I need the other kext. (One lets me burn CDs under X, the other lets me read CDs under X... annoying)
 
Back
Top