corz wee script pack for Mac OS XThings to do in a terminal session.
At first, had no scripts on my mac, 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.
This is what you get for now..
|(should work for any version of apache)
|Restart Apache. Self-Explanatory.
|Start Apache. (Go!!!)
|Test Apache. (test)
|Stop Apache. (halt!)
|Test Virtual Hosts
| Slow down an application. - uses less CPUs
(handy for background apps, see note below about Process Wizard)
| Speed up a mac application.
Uses more CPUs, handy for movies, and rendering!
(This is a handy function, but I recommend installing Process Wizard for greater control)
|Kill an application, even a background one.
|Uninstall those stubborn Mac OSX packages!
|Find files, no matter how lost they are!
|a wee spiel of useful information about your environment
| restart that pesky CUPS daemon!
essential for setting up network printers!
| restart the xinetd superserver
you either use this or you dont!
|I also threw in
|which clears your screen (but CTRL-L is still better)
| changes filenames to lowercase (
would do every file in a dir)
|a super-handy utility which does no more than swap two filenames about. think about it.
|which is part of the apple mac os x developer tool kit, free, and very useful. This is in case you don't have it.
Note: you can get more updated Apache control commands here