corz wee script pack for OS X

Things to do in a terminal session.

At first, I had no scripts, then I had loads
Now I seem to have just the right amount.

I got tired of typing the same things over and over, especially long path statements.
This is a small selection of my favourites. More to come soon, for sure.
The others are way too silly and/or inelegant for distribution, for now.

This is what you get for now..


Apache commands
ra Restart Apache. Self-Explanatory.
rg Start Apache. (Go!!!)
rt Test Apache. (test)
rh Stop Apache. (halt!)
tv Test Virtual Hosts
Miscellaneous commands
slow Slow down an application. - uses less CPU's
(handy for background apps, see note below about Process Wizard)
speeder Speed up an application.
Uses more CPU's, handy for movies, and rendering!
(This is a handy function, but I recommend installing Process Wizard for greater control)
killer Will kill an application, even a background one.
uninstaller Uninstall those stubborn packages!
finder Find files, no matter how lost they are!
ii a wee spiel of useful information about your environment
cup restart that pesky CUPS daemon!
essential for setting up network printers!
xd restart the xinetd superserver
you either use this or you don't!
I also threw in
c which clears your screen (but CTRL-L is still better)
lc changes filenames to lowercase (lc * would do every file in a dir)
swap a super-handy utility which does no more than swap two filenames about. think about it.
setfile which is part of the apple dev-kit, free, and very useful. This is in case you don't have it.


There is no uninstaller, just delete the ones you don't use, or use the "uninstaller" script!

enjoy!

;o)
(or