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..
|Apache commands||(should work for any version of apache)|
|ra||Restart Apache. Self-Explanatory.|
|rg||Start Apache. (Go!!!)|
|rt||Test Apache. (test)|
|rh||Stop Apache. (halt!)|
|tv||Test Virtual Hosts|
|slow|| Slow down an application. - uses less CPUs
(handy for background apps, see note below about Process Wizard)
|speeder|| 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)
|killer||Kill an application, even a background one.|
|uninstaller||Uninstall those stubborn Mac OSX 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 dont!
|I also threw in|
|c||which clears your screen (but CTRL-L is still better)|
|lc|| changes filenames to lowercase (
|swap||a super-handy utility which does no more than swap two filenames about. think about it.|
|setfile||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