For years, I've employed a very simple log file to track upgrades and significant configuration changes to my server: one update per line, starting with the output from date(1).
Post tagged: Scripting
Mostly useful to passing PHP INI settings to wrapper scripts like phpcs and phpunit.
Archived here, for posterity: repeating the last command you typed into bash.
inotifywait is a Linux thang, but if you need similar functionality on Mac OS X, check out wait_on. Available via homebrew.
What does it look like when you try to mysqlhotcopy, but don't have a high enough open files ulimit?
Today I needed to run mysqlhotcopy, but it was failing "undefined symbol: mysql_init" in DBD::mysql. My Perl is rusty at best, and I finally resorted to reinstalling DBI and DBD::mysql using the local user.
Today I'm publishing appify, a shell script that turns any other non-interactive shell script into a double-clickable Mac OS X application bundle.
It would be difficult to not like bash's programmable completion. It's too bad I've had such a hard time wrapping my head around the programmable completion toolkit.
Google has added some search options to pages, including date-based searches, a variety of ways to find related information, and more options for displaying images with your results. Good stuff.
Three other people will find this useful.
And it all comes together.
Quite handy, I say.
A time saver, for sure.
Seldom necessary, always difficult.
Hey, there it is.
I've updated the Subversion page on my wiki with instructions for ViewCVS.
Been blogging only lightly these past few days.
Server administration while you sleep.
Be nice to your users.
Where am I? Where are you?
Use them constantly.
Ever want to test command line arguments in bash, mixing arguments and execution options? I have. Here's one way to do it.
I did some scripting for work yesterday, and came up with this little snippet to ensure important scripts will run as root.